From 597dcdb8a0b90a6ab24134ffd32bd605dcdfbb6b Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 10 Oct 2022 10:50:14 +0000 Subject: [PATCH 1/2] feat: Update result_set.proto to return undeclared parameters in ExecuteSql API PiperOrigin-RevId: 480025979 Source-Link: https://github.com/googleapis/googleapis/commit/cb6fbe8784479b22af38c09a5039d8983e894566 Source-Link: https://github.com/googleapis/googleapis-gen/commit/bf166b89d2a6aa3510374387af0f45e4828dea03 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYmYxNjZiODlkMmE2YWEzNTEwMzc0Mzg3YWYwZjQ1ZTQ4MjhkZWEwMyJ9 --- .../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 | 1314 ++++++++++ .../cloud/spanner/v1/SpannerClientTest.java | 1352 ++++++++++ .../admin/database/v1/DatabaseAdminGrpc.java | 1932 +++++--------- .../admin/instance/v1/InstanceAdminGrpc.java | 1484 ++++------- .../com/google/spanner/v1/SpannerGrpc.java | 1399 ++++------ .../spanner/admin/database/v1/Backup.java | 1579 ++++-------- .../spanner/admin/database/v1/BackupInfo.java | 562 ++-- .../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 | 118 + .../v1/CopyBackupEncryptionConfig.java | 565 ++-- .../CopyBackupEncryptionConfigOrBuilder.java | 52 +- .../admin/database/v1/CopyBackupMetadata.java | 570 ++--- .../v1/CopyBackupMetadataOrBuilder.java | 52 +- .../admin/database/v1/CopyBackupRequest.java | 814 +++--- .../v1/CopyBackupRequestOrBuilder.java | 101 +- .../v1/CreateBackupEncryptionConfig.java | 573 ++--- ...CreateBackupEncryptionConfigOrBuilder.java | 52 +- .../database/v1/CreateBackupMetadata.java | 570 ++--- .../v1/CreateBackupMetadataOrBuilder.java | 52 +- .../database/v1/CreateBackupRequest.java | 717 ++---- .../v1/CreateBackupRequestOrBuilder.java | 87 +- .../database/v1/CreateDatabaseMetadata.java | 330 ++- .../v1/CreateDatabaseMetadataOrBuilder.java | 27 +- .../database/v1/CreateDatabaseRequest.java | 786 ++---- .../v1/CreateDatabaseRequestOrBuilder.java | 96 +- .../spanner/admin/database/v1/Database.java | 1548 ++++------- .../admin/database/v1/DatabaseDialect.java | 82 +- .../admin/database/v1/DatabaseName.java | 0 .../admin/database/v1/DatabaseOrBuilder.java | 185 +- .../admin/database/v1/DatabaseRole.java | 327 ++- .../database/v1/DatabaseRoleOrBuilder.java | 27 +- .../database/v1/DeleteBackupRequest.java | 358 ++- .../v1/DeleteBackupRequestOrBuilder.java | 33 + .../database/v1/DropDatabaseRequest.java | 358 ++- .../v1/DropDatabaseRequestOrBuilder.java | 29 + .../admin/database/v1/EncryptionConfig.java | 330 ++- .../v1/EncryptionConfigOrBuilder.java | 27 +- .../admin/database/v1/EncryptionInfo.java | 646 ++--- .../database/v1/EncryptionInfoOrBuilder.java | 66 +- .../admin/database/v1/GetBackupRequest.java | 358 ++- .../v1/GetBackupRequestOrBuilder.java | 33 + .../database/v1/GetDatabaseDdlRequest.java | 358 ++- .../v1/GetDatabaseDdlRequestOrBuilder.java | 33 + .../database/v1/GetDatabaseDdlResponse.java | 358 ++- .../v1/GetDatabaseDdlResponseOrBuilder.java | 36 +- .../admin/database/v1/GetDatabaseRequest.java | 358 ++- .../v1/GetDatabaseRequestOrBuilder.java | 31 + .../admin/database/v1/InstanceName.java | 0 .../v1/ListBackupOperationsRequest.java | 565 ++-- .../ListBackupOperationsRequestOrBuilder.java | 56 +- .../v1/ListBackupOperationsResponse.java | 512 ++-- ...ListBackupOperationsResponseOrBuilder.java | 46 +- .../admin/database/v1/ListBackupsRequest.java | 545 ++-- .../v1/ListBackupsRequestOrBuilder.java | 56 +- .../database/v1/ListBackupsResponse.java | 486 ++-- .../v1/ListBackupsResponseOrBuilder.java | 45 +- .../v1/ListDatabaseOperationsRequest.java | 577 ++--- ...istDatabaseOperationsRequestOrBuilder.java | 56 +- .../v1/ListDatabaseOperationsResponse.java | 519 ++-- ...stDatabaseOperationsResponseOrBuilder.java | 46 +- .../database/v1/ListDatabaseRolesRequest.java | 479 ++-- .../v1/ListDatabaseRolesRequestOrBuilder.java | 47 +- .../v1/ListDatabaseRolesResponse.java | 486 ++-- .../ListDatabaseRolesResponseOrBuilder.java | 45 +- .../database/v1/ListDatabasesRequest.java | 472 ++-- .../v1/ListDatabasesRequestOrBuilder.java | 47 +- .../database/v1/ListDatabasesResponse.java | 486 ++-- .../v1/ListDatabasesResponseOrBuilder.java | 45 +- .../admin/database/v1/OperationProgress.java | 437 ++-- .../v1/OperationProgressOrBuilder.java | 37 +- .../v1/OptimizeRestoredDatabaseMetadata.java | 451 ++-- ...mizeRestoredDatabaseMetadataOrBuilder.java | 35 +- .../v1/RestoreDatabaseEncryptionConfig.java | 580 ++--- ...toreDatabaseEncryptionConfigOrBuilder.java | 52 +- .../database/v1/RestoreDatabaseMetadata.java | 790 +++--- .../v1/RestoreDatabaseMetadataOrBuilder.java | 69 +- .../database/v1/RestoreDatabaseRequest.java | 726 ++---- .../v1/RestoreDatabaseRequestOrBuilder.java | 79 +- .../admin/database/v1/RestoreInfo.java | 448 ++-- .../database/v1/RestoreInfoOrBuilder.java | 32 +- .../admin/database/v1/RestoreSourceType.java | 77 +- .../v1/SpannerDatabaseAdminProto.java | 541 ++++ .../database/v1/UpdateBackupRequest.java | 506 ++-- .../v1/UpdateBackupRequestOrBuilder.java | 55 +- .../v1/UpdateDatabaseDdlMetadata.java | 791 +++--- .../UpdateDatabaseDdlMetadataOrBuilder.java | 84 +- .../database/v1/UpdateDatabaseDdlRequest.java | 549 ++-- .../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 | 61 + .../v1/CreateInstanceConfigMetadata.java | 534 ++-- ...CreateInstanceConfigMetadataOrBuilder.java | 42 +- .../v1/CreateInstanceConfigRequest.java | 624 ++--- .../CreateInstanceConfigRequestOrBuilder.java | 67 +- .../instance/v1/CreateInstanceMetadata.java | 577 ++--- .../v1/CreateInstanceMetadataOrBuilder.java | 50 +- .../instance/v1/CreateInstanceRequest.java | 565 ++-- .../v1/CreateInstanceRequestOrBuilder.java | 64 +- .../v1/DeleteInstanceConfigRequest.java | 495 ++-- .../DeleteInstanceConfigRequestOrBuilder.java | 47 +- .../instance/v1/DeleteInstanceRequest.java | 358 ++- .../v1/DeleteInstanceRequestOrBuilder.java | 31 + .../instance/v1/GetInstanceConfigRequest.java | 365 ++- .../v1/GetInstanceConfigRequestOrBuilder.java | 31 + .../admin/instance/v1/GetInstanceRequest.java | 435 ++-- .../v1/GetInstanceRequestOrBuilder.java | 43 +- .../spanner/admin/instance/v1/Instance.java | 1365 ++++------ .../admin/instance/v1/InstanceConfig.java | 1690 +++++------- .../admin/instance/v1/InstanceConfigName.java | 0 .../instance/v1/InstanceConfigOrBuilder.java | 190 +- .../admin/instance/v1/InstanceName.java | 0 .../admin/instance/v1/InstanceOrBuilder.java | 156 +- .../ListInstanceConfigOperationsRequest.java | 594 ++--- ...tanceConfigOperationsRequestOrBuilder.java | 56 +- .../ListInstanceConfigOperationsResponse.java | 537 ++-- ...anceConfigOperationsResponseOrBuilder.java | 46 +- .../v1/ListInstanceConfigsRequest.java | 492 ++-- .../ListInstanceConfigsRequestOrBuilder.java | 47 +- .../v1/ListInstanceConfigsResponse.java | 492 ++-- .../ListInstanceConfigsResponseOrBuilder.java | 42 +- .../instance/v1/ListInstancesRequest.java | 545 ++-- .../v1/ListInstancesRequestOrBuilder.java | 56 +- .../instance/v1/ListInstancesResponse.java | 486 ++-- .../v1/ListInstancesResponseOrBuilder.java | 45 +- .../admin/instance/v1/OperationProgress.java | 437 ++-- .../v1/OperationProgressOrBuilder.java | 37 +- .../admin/instance/v1/ProjectName.java | 0 .../admin/instance/v1/ReplicaInfo.java | 512 ++-- .../instance/v1/ReplicaInfoOrBuilder.java | 36 +- .../v1/SpannerInstanceAdminProto.java | 534 ++++ .../v1/UpdateInstanceConfigMetadata.java | 534 ++-- ...UpdateInstanceConfigMetadataOrBuilder.java | 42 +- .../v1/UpdateInstanceConfigRequest.java | 562 ++-- .../UpdateInstanceConfigRequestOrBuilder.java | 58 +- .../instance/v1/UpdateInstanceMetadata.java | 577 ++--- .../v1/UpdateInstanceMetadataOrBuilder.java | 50 +- .../instance/v1/UpdateInstanceRequest.java | 497 ++-- .../v1/UpdateInstanceRequestOrBuilder.java | 55 +- .../spanner/admin/instance/v1/common.proto | 0 .../instance/v1/spanner_instance_admin.proto | 0 .../v1/BatchCreateSessionsRequest.java | 479 ++-- .../BatchCreateSessionsRequestOrBuilder.java | 46 +- .../v1/BatchCreateSessionsResponse.java | 410 ++- .../BatchCreateSessionsResponseOrBuilder.java | 37 +- .../spanner/v1/BeginTransactionRequest.java | 568 ++-- .../v1/BeginTransactionRequestOrBuilder.java | 63 +- .../com/google/spanner/v1/CommitRequest.java | 817 +++--- .../spanner/v1/CommitRequestOrBuilder.java | 79 +- .../com/google/spanner/v1/CommitResponse.java | 683 ++--- .../spanner/v1/CommitResponseOrBuilder.java | 34 +- .../spanner/v1/CommitResponseProto.java | 70 + .../spanner/v1/CreateSessionRequest.java | 452 ++-- .../v1/CreateSessionRequestOrBuilder.java | 43 +- .../com/google/spanner/v1/DatabaseName.java | 0 .../spanner/v1/DeleteSessionRequest.java | 348 ++- .../v1/DeleteSessionRequestOrBuilder.java | 29 + .../spanner/v1/ExecuteBatchDmlRequest.java | 1523 +++++------ .../v1/ExecuteBatchDmlRequestOrBuilder.java | 104 +- .../spanner/v1/ExecuteBatchDmlResponse.java | 468 ++-- .../v1/ExecuteBatchDmlResponseOrBuilder.java | 45 +- .../google/spanner/v1/ExecuteSqlRequest.java | 1639 +++++------- .../v1/ExecuteSqlRequestOrBuilder.java | 122 +- .../google/spanner/v1/GetSessionRequest.java | 345 ++- .../v1/GetSessionRequestOrBuilder.java | 29 + .../java/com/google/spanner/v1/KeyRange.java | 694 ++--- .../google/spanner/v1/KeyRangeOrBuilder.java | 50 +- .../java/com/google/spanner/v1/KeySet.java | 581 ++--- .../google/spanner/v1/KeySetOrBuilder.java | 59 +- .../java/com/google/spanner/v1/KeysProto.java | 74 + .../spanner/v1/ListSessionsRequest.java | 535 ++-- .../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 | 644 ++--- .../spanner/v1/PartialResultSetOrBuilder.java | 59 +- .../java/com/google/spanner/v1/Partition.java | 265 +- .../google/spanner/v1/PartitionOptions.java | 313 +-- .../spanner/v1/PartitionOptionsOrBuilder.java | 24 +- .../google/spanner/v1/PartitionOrBuilder.java | 21 + .../spanner/v1/PartitionQueryRequest.java | 918 +++---- .../v1/PartitionQueryRequestOrBuilder.java | 99 +- .../spanner/v1/PartitionReadRequest.java | 865 +++---- .../v1/PartitionReadRequestOrBuilder.java | 95 +- .../google/spanner/v1/PartitionResponse.java | 481 ++-- .../v1/PartitionResponseOrBuilder.java | 45 +- .../java/com/google/spanner/v1/PlanNode.java | 1916 ++++++-------- .../google/spanner/v1/PlanNodeOrBuilder.java | 78 +- .../java/com/google/spanner/v1/QueryPlan.java | 390 ++- .../google/spanner/v1/QueryPlanOrBuilder.java | 37 +- .../com/google/spanner/v1/QueryPlanProto.java | 116 + .../com/google/spanner/v1/ReadRequest.java | 974 +++---- .../spanner/v1/ReadRequestOrBuilder.java | 104 +- .../com/google/spanner/v1/RequestOptions.java | 527 ++-- .../spanner/v1/RequestOptionsOrBuilder.java | 42 +- .../java/com/google/spanner/v1/ResultSet.java | 557 ++-- .../google/spanner/v1/ResultSetMetadata.java | 727 ++++-- .../v1/ResultSetMetadataOrBuilder.java | 85 +- .../google/spanner/v1/ResultSetOrBuilder.java | 53 +- .../com/google/spanner/v1/ResultSetProto.java | 115 + .../com/google/spanner/v1/ResultSetStats.java | 541 ++-- .../spanner/v1/ResultSetStatsOrBuilder.java | 46 +- .../google/spanner/v1/RollbackRequest.java | 381 ++- .../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 | 104 +- .../com/google/spanner/v1/SpannerProto.java | 582 +++++ .../com/google/spanner/v1/StructType.java | 780 +++--- .../spanner/v1/StructTypeOrBuilder.java | 36 +- .../com/google/spanner/v1/Transaction.java | 360 ++- .../google/spanner/v1/TransactionOptions.java | 1855 +++++--------- .../v1/TransactionOptionsOrBuilder.java | 42 +- .../spanner/v1/TransactionOrBuilder.java | 29 +- .../google/spanner/v1/TransactionProto.java | 133 + .../spanner/v1/TransactionSelector.java | 533 ++-- .../v1/TransactionSelectorOrBuilder.java | 40 +- .../main/java/com/google/spanner/v1/Type.java | 499 ++-- .../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 | 97 + .../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 | 12 + .../proto/google/spanner/v1/spanner.proto | 0 .../proto/google/spanner/v1/transaction.proto | 0 .../main/proto/google/spanner/v1/type.proto | 0 .../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 | 131 - .../spanner/v1/RollbackRequestOrBuilder.java | 67 - .../com/google/spanner/v1/SpannerProto.java | 649 ----- .../google/spanner/v1/TransactionProto.java | 155 -- .../java/com/google/spanner/v1/TypeProto.java | 113 - 301 files changed, 41409 insertions(+), 49352 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 (53%) 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 (62%) 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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/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 (62%) 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 (62%) 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 (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/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 (63%) 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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/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 (100%) 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 (100%) 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 (100%) 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 (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/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 (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/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 (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/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 (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/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 (63%) 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 (63%) 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 (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/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 (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/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 (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/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 (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/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 (100%) 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 (100%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java (68%) 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 (70%) 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 (66%) 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 (76%) 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 (72%) 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 (79%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java (87%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/GetSessionRequest.java (61%) 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 (77%) 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 (76%) 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 (72%) 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 (86%) 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 (54%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.java (55%) 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 (74%) 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 (64%) 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 (73%) 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 (76%) 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 (100%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/keys.proto (100%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/mutation.proto (100%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/query_plan.proto (100%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/result_set.proto (93%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/spanner.proto (100%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/transaction.proto (100%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/type.proto (100%) 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 9a353025074..61b0a5c0876 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 8f649502f18..f7d89c7a3f8 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 @@ -34,6 +34,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 bed7960d4f0..6a85d858991 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 ac4c5855247..2a79a374615 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 @@ -32,6 +32,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 dd3d71d6396..56b3f3fc38b 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..b17546d293c --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientHttpJsonTest.java @@ -0,0 +1,1314 @@ +/* + * 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()) + .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()) + .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()) + .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()) + .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..863e6007b3b --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java @@ -0,0 +1,1352 @@ +/* + * 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()) + .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.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()) + .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()) + .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()) + .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()) + .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.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()) + .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()) + .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()) + .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 53% 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 3f1113711a9..981a051811d 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:
@@ -949,26 +666,19 @@ public DatabaseAdminFutureStub newStub(
    *   * restore a database from an existing backup
    * 
*/ - public abstract static class DatabaseAdminImplBase implements io.grpc.BindableService { + public static abstract class DatabaseAdminImplBase implements io.grpc.BindableService { /** - * - * *
      * Lists Cloud Spanner databases.
      * 
*/ - public void listDatabases( - com.google.spanner.admin.database.v1.ListDatabasesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDatabasesMethod(), responseObserver); + public 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 @@ 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateDatabaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDatabaseMethod(), 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDatabaseMethod(), responseObserver); + public 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 @@ 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.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 @@ 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.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.
      * 
*/ - public void getDatabaseDdl( - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDatabaseDdlMethod(), responseObserver); + public 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 @@ 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.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 @@ 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.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 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); } /** - * - * *
      * Starts creating a new Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -1137,16 +812,12 @@ 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.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 @@ 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.ServerCalls.asyncUnimplementedUnaryCall(getCopyBackupMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateBackupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateBackupMethod(), 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.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`.
      * 
*/ - public void listBackups( - com.google.spanner.admin.database.v1.ListBackupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListBackupsMethod(), responseObserver); + public 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 @@ 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.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 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDatabaseOperationsMethod(), responseObserver); + public 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,161 +937,161 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListBackupOperationsMethod(), responseObserver); + public 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.
      * 
*/ - public void listDatabaseRoles( - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDatabaseRolesMethod(), responseObserver); + public void listDatabaseRoles(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDatabaseRolesMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListDatabasesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.ListDatabasesRequest, - com.google.spanner.admin.database.v1.ListDatabasesResponse>( - this, 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>( + this, METHODID_LIST_DATABASES))) .addMethod( - getCreateDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.CreateDatabaseRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_DATABASE))) + getCreateDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.CreateDatabaseRequest, + com.google.longrunning.Operation>( + this, 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>(this, 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>( + this, METHODID_GET_DATABASE))) .addMethod( - getUpdateDatabaseDdlMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_DATABASE_DDL))) + getUpdateDatabaseDdlMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_DATABASE_DDL))) .addMethod( - getDropDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.DropDatabaseRequest, - com.google.protobuf.Empty>(this, METHODID_DROP_DATABASE))) + getDropDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.DropDatabaseRequest, + com.google.protobuf.Empty>( + this, 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>( - this, 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>( + this, METHODID_GET_DATABASE_DDL))) .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getCreateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.CreateBackupRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_BACKUP))) + getCreateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.CreateBackupRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_BACKUP))) .addMethod( - getCopyBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.CopyBackupRequest, - com.google.longrunning.Operation>(this, METHODID_COPY_BACKUP))) + getCopyBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.CopyBackupRequest, + com.google.longrunning.Operation>( + this, 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>(this, 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>( + this, 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>(this, 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>( + this, METHODID_UPDATE_BACKUP))) .addMethod( - getDeleteBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.DeleteBackupRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_BACKUP))) + getDeleteBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.DeleteBackupRequest, + com.google.protobuf.Empty>( + this, 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>( - this, 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>( + this, METHODID_LIST_BACKUPS))) .addMethod( - getRestoreDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.RestoreDatabaseRequest, - com.google.longrunning.Operation>(this, METHODID_RESTORE_DATABASE))) + getRestoreDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.RestoreDatabaseRequest, + com.google.longrunning.Operation>( + this, 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>( - this, 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>( + this, 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>( - this, 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>( + this, 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>( - this, 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>( + this, METHODID_LIST_DATABASE_ROLES))) .build(); } } /** - * - * *
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -1459,37 +1101,30 @@ public final io.grpc.ServerServiceDefinition bindService() {
    *   * restore a database from an existing backup
    * 
*/ - public static final class DatabaseAdminStub - extends io.grpc.stub.AbstractAsyncStub { - private DatabaseAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class DatabaseAdminStub extends io.grpc.stub.AbstractAsyncStub { + 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
@@ -1501,35 +1136,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
@@ -1540,18 +1164,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
@@ -1560,37 +1179,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.
@@ -1600,18 +1208,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
@@ -1622,18 +1225,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.
@@ -1646,19 +1244,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]
@@ -1674,18 +1266,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]
@@ -1701,81 +1288,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
@@ -1796,18 +1361,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
@@ -1819,20 +1379,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
@@ -1846,38 +1399,25 @@ 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); } } /** - * - * *
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -1887,9 +1427,9 @@ public void listDatabaseRoles(
    *   * restore a database from an existing backup
    * 
*/ - public static final class DatabaseAdminBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DatabaseAdminBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class DatabaseAdminBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private DatabaseAdminBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1900,21 +1440,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
@@ -1926,28 +1461,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
@@ -1958,15 +1487,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
@@ -1975,30 +1501,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.
@@ -2014,8 +1534,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
@@ -2032,8 +1550,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.
@@ -2046,15 +1562,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]
@@ -2070,15 +1583,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]
@@ -2094,69 +1604,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
@@ -2177,15 +1672,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
@@ -2197,16 +1689,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
@@ -2220,29 +1708,23 @@ 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); } } /** - * - * *
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -2252,9 +1734,9 @@ public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse listDataba
    *   * restore a database from an existing backup
    * 
*/ - public static final class DatabaseAdminFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DatabaseAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class DatabaseAdminFutureStub extends io.grpc.stub.AbstractFutureStub { + private DatabaseAdminFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -2265,22 +1747,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
@@ -2292,29 +1769,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
@@ -2325,15 +1797,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
@@ -2342,31 +1812,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.
@@ -2376,15 +1841,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
@@ -2395,15 +1858,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.
@@ -2416,16 +1877,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]
@@ -2441,15 +1899,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]
@@ -2465,72 +1921,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
@@ -2551,15 +1994,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
@@ -2571,17 +2012,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
@@ -2595,24 +2032,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); } @@ -2638,11 +2070,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 DatabaseAdminImplBase serviceImpl; private final int methodId; @@ -2656,115 +2088,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(); @@ -2782,9 +2179,8 @@ public io.grpc.stub.StreamObserver invoke( } } - 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 @@ -2826,30 +2222,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 62% 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 8e01cc281ad..bf53adbe69d 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,
@@ -758,42 +535,29 @@ public InstanceAdminFutureStub newStub(
    * databases in that instance, and their performance may suffer.
    * 
*/ - public abstract static class InstanceAdminImplBase implements io.grpc.BindableService { + public static abstract class InstanceAdminImplBase implements io.grpc.BindableService { /** - * - * *
      * 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInstanceConfigsMethod(), responseObserver); + public 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.
      * 
*/ - public void getInstanceConfig( - com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetInstanceConfigMethod(), responseObserver); + public 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 @@ 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.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 @@ 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.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 @@ 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.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 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInstanceConfigOperationsMethod(), responseObserver); + public 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.
      * 
*/ - public void listInstances( - com.google.spanner.admin.instance.v1.ListInstancesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInstancesMethod(), responseObserver); + public 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.
      * 
*/ - public void getInstance( - com.google.spanner.admin.instance.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetInstanceMethod(), responseObserver); + public 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 @@ 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.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 @@ 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.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateInstanceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceMethod(), responseObserver); } /** - * - * *
      * Deletes an instance.
      * Immediately upon completion of the request:
@@ -1058,16 +786,12 @@ 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.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 @@ 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.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 @@ 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.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,113 +826,116 @@ public void getIamPolicy(
      * empty set of permissions.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListInstanceConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest, - com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse>( - this, 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>( + this, 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>( - this, 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>( + this, METHODID_GET_INSTANCE_CONFIG))) .addMethod( - getCreateInstanceConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_INSTANCE_CONFIG))) + getCreateInstanceConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_INSTANCE_CONFIG))) .addMethod( - getUpdateInstanceConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_INSTANCE_CONFIG))) + getUpdateInstanceConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_INSTANCE_CONFIG))) .addMethod( - getDeleteInstanceConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_INSTANCE_CONFIG))) + getDeleteInstanceConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest, + com.google.protobuf.Empty>( + this, 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>( - this, 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>( + this, 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>( - this, 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>( + this, 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>(this, 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>( + this, METHODID_GET_INSTANCE))) .addMethod( - getCreateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.CreateInstanceRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_INSTANCE))) + getCreateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.CreateInstanceRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_INSTANCE))) .addMethod( - getUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.UpdateInstanceRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_INSTANCE))) + getUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.UpdateInstanceRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_INSTANCE))) .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.DeleteInstanceRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_INSTANCE))) + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.DeleteInstanceRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_INSTANCE))) .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .build(); } } /** - * - * *
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -1238,55 +957,41 @@ public final io.grpc.ServerServiceDefinition bindService() {
    * databases in that instance, and their performance may suffer.
    * 
*/ - public static final class InstanceAdminStub - extends io.grpc.stub.AbstractAsyncStub { - private InstanceAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class InstanceAdminStub extends io.grpc.stub.AbstractAsyncStub { + 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]
@@ -1323,18 +1028,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
@@ -1373,18 +1073,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
@@ -1394,18 +1089,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
@@ -1420,54 +1110,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]
@@ -1498,18 +1169,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
@@ -1545,18 +1211,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:
@@ -1567,18 +1228,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.
@@ -1586,18 +1242,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.
@@ -1605,18 +1256,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
@@ -1625,20 +1271,14 @@ 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); } } /** - * - * *
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -1660,9 +1300,9 @@ public void testIamPermissions(
    * databases in that instance, and their performance may suffer.
    * 
*/ - public static final class InstanceAdminBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private InstanceAdminBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class InstanceAdminBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private InstanceAdminBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1673,34 +1313,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]
@@ -1737,15 +1369,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
@@ -1784,15 +1413,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
@@ -1802,15 +1428,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
@@ -1825,42 +1448,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]
@@ -1891,15 +1504,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
@@ -1935,15 +1545,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:
@@ -1954,15 +1561,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.
@@ -1976,8 +1580,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.
@@ -1991,8 +1593,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
@@ -2001,16 +1601,13 @@ 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); } } /** - * - * *
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -2032,9 +1629,9 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
    * databases in that instance, and their performance may suffer.
    * 
*/ - public static final class InstanceAdminFutureStub - extends io.grpc.stub.AbstractFutureStub { - private InstanceAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class InstanceAdminFutureStub extends io.grpc.stub.AbstractFutureStub { + private InstanceAdminFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -2045,37 +1642,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]
@@ -2112,16 +1700,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
@@ -2160,16 +1745,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
@@ -2179,16 +1761,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
@@ -2203,45 +1782,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]
@@ -2272,15 +1841,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
@@ -2316,15 +1883,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:
@@ -2335,15 +1900,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.
@@ -2351,15 +1914,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.
@@ -2367,15 +1928,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
@@ -2384,9 +1943,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); } @@ -2407,11 +1965,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 InstanceAdminImplBase serviceImpl; private final int methodId; @@ -2425,83 +1983,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(); @@ -2519,9 +2054,8 @@ public io.grpc.stub.StreamObserver invoke( } } - 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 @@ -2563,25 +2097,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 752e8057336..289a76a4ca1 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,675 +20,525 @@ 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
    * transactions on data stored in Cloud Spanner databases.
    * 
*/ - public abstract static class SpannerImplBase implements io.grpc.BindableService { + public static abstract class SpannerImplBase implements io.grpc.BindableService { /** - * - * *
      * 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 abstract static class SpannerImplBase implements io.grpc.BindableService
      * 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.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.
      * 
*/ - public void batchCreateSessions( - com.google.spanner.v1.BatchCreateSessionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchCreateSessionsMethod(), responseObserver); + public 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.
      * 
*/ - 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.ServerCalls.asyncUnimplementedUnaryCall(getGetSessionMethod(), 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.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.
      * 
*/ - 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.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 @@ 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.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 @@ 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.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 @@ public void executeStreamingSql(
      * are not executed.
      * 
*/ - public void executeBatchDml( - com.google.spanner.v1.ExecuteBatchDmlRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getExecuteBatchDmlMethod(), responseObserver); + public 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 @@ 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.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 @@ 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.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 @@ 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.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 @@ 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.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 @@ 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.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 @@ 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.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,116 +778,123 @@ 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.ServerCalls.asyncUnimplementedUnaryCall( - getPartitionReadMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPartitionReadMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateSessionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.CreateSessionRequest, com.google.spanner.v1.Session>( - this, METHODID_CREATE_SESSION))) + getCreateSessionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.CreateSessionRequest, + com.google.spanner.v1.Session>( + this, METHODID_CREATE_SESSION))) .addMethod( - getBatchCreateSessionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.BatchCreateSessionsRequest, - com.google.spanner.v1.BatchCreateSessionsResponse>( - this, METHODID_BATCH_CREATE_SESSIONS))) + getBatchCreateSessionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.BatchCreateSessionsRequest, + com.google.spanner.v1.BatchCreateSessionsResponse>( + this, METHODID_BATCH_CREATE_SESSIONS))) .addMethod( - getGetSessionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.GetSessionRequest, com.google.spanner.v1.Session>( - this, METHODID_GET_SESSION))) + getGetSessionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.GetSessionRequest, + com.google.spanner.v1.Session>( + this, METHODID_GET_SESSION))) .addMethod( - getListSessionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.ListSessionsRequest, - com.google.spanner.v1.ListSessionsResponse>(this, METHODID_LIST_SESSIONS))) + getListSessionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.ListSessionsRequest, + com.google.spanner.v1.ListSessionsResponse>( + this, METHODID_LIST_SESSIONS))) .addMethod( - getDeleteSessionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.DeleteSessionRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_SESSION))) + getDeleteSessionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.DeleteSessionRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_SESSION))) .addMethod( - getExecuteSqlMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.ResultSet>( - this, METHODID_EXECUTE_SQL))) + getExecuteSqlMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.ExecuteSqlRequest, + com.google.spanner.v1.ResultSet>( + this, METHODID_EXECUTE_SQL))) .addMethod( - getExecuteStreamingSqlMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.spanner.v1.ExecuteSqlRequest, - com.google.spanner.v1.PartialResultSet>( - this, METHODID_EXECUTE_STREAMING_SQL))) + getExecuteStreamingSqlMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.spanner.v1.ExecuteSqlRequest, + com.google.spanner.v1.PartialResultSet>( + this, METHODID_EXECUTE_STREAMING_SQL))) .addMethod( - getExecuteBatchDmlMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.ExecuteBatchDmlRequest, - com.google.spanner.v1.ExecuteBatchDmlResponse>( - this, METHODID_EXECUTE_BATCH_DML))) + getExecuteBatchDmlMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.ExecuteBatchDmlRequest, + com.google.spanner.v1.ExecuteBatchDmlResponse>( + this, METHODID_EXECUTE_BATCH_DML))) .addMethod( - getReadMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.ReadRequest, com.google.spanner.v1.ResultSet>( - this, METHODID_READ))) + getReadMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.ReadRequest, + com.google.spanner.v1.ResultSet>( + this, METHODID_READ))) .addMethod( - getStreamingReadMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.spanner.v1.ReadRequest, com.google.spanner.v1.PartialResultSet>( - this, METHODID_STREAMING_READ))) + getStreamingReadMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.spanner.v1.ReadRequest, + com.google.spanner.v1.PartialResultSet>( + this, METHODID_STREAMING_READ))) .addMethod( - getBeginTransactionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.BeginTransactionRequest, - com.google.spanner.v1.Transaction>(this, METHODID_BEGIN_TRANSACTION))) + getBeginTransactionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.BeginTransactionRequest, + com.google.spanner.v1.Transaction>( + this, METHODID_BEGIN_TRANSACTION))) .addMethod( - getCommitMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.CommitRequest, com.google.spanner.v1.CommitResponse>( - this, METHODID_COMMIT))) + getCommitMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.CommitRequest, + com.google.spanner.v1.CommitResponse>( + this, METHODID_COMMIT))) .addMethod( - getRollbackMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.RollbackRequest, com.google.protobuf.Empty>( - this, METHODID_ROLLBACK))) + getRollbackMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.RollbackRequest, + com.google.protobuf.Empty>( + this, METHODID_ROLLBACK))) .addMethod( - getPartitionQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.PartitionQueryRequest, - com.google.spanner.v1.PartitionResponse>(this, METHODID_PARTITION_QUERY))) + getPartitionQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.PartitionQueryRequest, + com.google.spanner.v1.PartitionResponse>( + this, METHODID_PARTITION_QUERY))) .addMethod( - getPartitionReadMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.PartitionReadRequest, - com.google.spanner.v1.PartitionResponse>(this, METHODID_PARTITION_READ))) + getPartitionReadMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.PartitionReadRequest, + com.google.spanner.v1.PartitionResponse>( + this, METHODID_PARTITION_READ))) .build(); } } /** - * - * *
    * Cloud Spanner API
    * The Cloud Spanner API can be used to manage sessions and execute
@@ -1115,18 +902,18 @@ public final io.grpc.ServerServiceDefinition bindService() {
    * 
*/ public static final class SpannerStub extends io.grpc.stub.AbstractAsyncStub { - private SpannerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + 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.
@@ -1146,87 +933,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;
@@ -1239,16 +1002,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
@@ -1257,18 +1017,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
@@ -1281,19 +1036,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
@@ -1308,16 +1057,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
@@ -1326,18 +1072,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
@@ -1345,18 +1086,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.
@@ -1372,16 +1108,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
@@ -1392,16 +1125,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
@@ -1415,18 +1145,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
@@ -1442,39 +1167,33 @@ 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); } } /** - * - * *
    * 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 SpannerBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private SpannerBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class SpannerBlockingStub extends io.grpc.stub.AbstractBlockingStub { + 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.
@@ -1494,73 +1213,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;
@@ -1573,15 +1277,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
@@ -1597,8 +1298,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
@@ -1611,15 +1310,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
@@ -1640,8 +1336,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
@@ -1657,8 +1351,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
@@ -1666,15 +1358,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.
@@ -1690,15 +1379,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
@@ -1715,8 +1401,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
@@ -1730,15 +1414,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
@@ -1754,36 +1435,32 @@ 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); } } /** - * - * *
    * 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 SpannerFutureStub - extends io.grpc.stub.AbstractFutureStub { - private SpannerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class SpannerFutureStub extends io.grpc.stub.AbstractFutureStub { + 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.
@@ -1803,75 +1480,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;
@@ -1884,15 +1549,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
@@ -1905,16 +1568,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
@@ -1936,8 +1596,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
@@ -1945,15 +1603,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.
@@ -1969,15 +1625,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
@@ -1995,8 +1649,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
@@ -2010,16 +1662,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
@@ -2035,9 +1684,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);
     }
@@ -2059,11 +1707,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 SpannerImplBase serviceImpl;
     private final int methodId;
 
@@ -2077,86 +1725,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();
@@ -2174,9 +1800,8 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  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
@@ -2190,11 +1815,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;
 
@@ -2216,26 +1843,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 fc4ca6cc8be..ec5cd7e35a0 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; @@ -234,8 +203,6 @@ private State(int value) { public static final int DATABASE_FIELD_NUMBER = 2; 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
@@ -245,7 +212,6 @@ private State(int value) {
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The database. */ @java.lang.Override @@ -254,15 +220,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
@@ -272,15 +237,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 { @@ -291,8 +257,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
@@ -301,7 +265,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() {
    * 
* * .google.protobuf.Timestamp version_time = 9; - * * @return Whether the versionTime field is set. */ @java.lang.Override @@ -309,8 +272,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
@@ -319,7 +280,6 @@ public boolean hasVersionTime() {
    * 
* * .google.protobuf.Timestamp version_time = 9; - * * @return The versionTime. */ @java.lang.Override @@ -327,8 +287,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
@@ -346,8 +304,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
@@ -358,7 +314,6 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp expire_time = 3; - * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -366,8 +321,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
@@ -378,7 +331,6 @@ public boolean hasExpireTime() {
    * 
* * .google.protobuf.Timestamp expire_time = 3; - * * @return The expireTime. */ @java.lang.Override @@ -386,8 +338,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,8 +357,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
   public static final int NAME_FIELD_NUMBER = 1;
   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.
@@ -424,7 +372,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -433,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; } } /** - * - * *
    * 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.
@@ -457,15 +403,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 { @@ -476,17 +423,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 @@ -494,17 +437,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 @@ -512,16 +451,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() { @@ -531,14 +467,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int SIZE_BYTES_FIELD_NUMBER = 5; 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 @@ -549,48 +482,33 @@ public long getSizeBytes() { public static final int STATE_FIELD_NUMBER = 6; private int 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 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() { + @java.lang.Override public com.google.spanner.admin.database.v1.Backup.State getState() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.Backup.State result = - com.google.spanner.admin.database.v1.Backup.State.valueOf(state_); + com.google.spanner.admin.database.v1.Backup.State result = com.google.spanner.admin.database.v1.Backup.State.valueOf(state_); return result == null ? com.google.spanner.admin.database.v1.Backup.State.UNRECOGNIZED : result; } public static final int REFERENCING_DATABASES_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList referencingDatabases_; /** - * - * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -601,18 +519,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
@@ -623,18 +537,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
@@ -645,10 +554,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. */ @@ -656,8 +562,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
@@ -668,30 +572,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 @@ -699,34 +596,23 @@ 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() { @@ -736,50 +622,33 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio public static final int DATABASE_DIALECT_FIELD_NUMBER = 10; private int 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 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() { + @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.DatabaseDialect result = - com.google.spanner.admin.database.v1.DatabaseDialect.valueOf(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.valueOf(databaseDialect_); + return result == null ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED : result; } public static final int REFERENCING_BACKUPS_FIELD_NUMBER = 11; 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
@@ -790,18 +659,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
@@ -812,18 +677,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
@@ -834,10 +694,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. */ @@ -845,8 +702,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
@@ -857,22 +712,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
@@ -881,10 +732,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 @@ -892,8 +740,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
@@ -902,21 +748,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
@@ -925,9 +764,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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getMaxExpireTimeOrBuilder() { @@ -935,7 +772,6 @@ public com.google.protobuf.TimestampOrBuilder getMaxExpireTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -947,7 +783,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -967,8 +804,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()); @@ -976,9 +812,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++) { @@ -1003,16 +837,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; @@ -1023,15 +861,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; @@ -1042,7 +881,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; @@ -1052,40 +892,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; @@ -1115,7 +964,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) { @@ -1141,136 +991,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(); @@ -1322,9 +1166,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 @@ -1343,8 +1187,7 @@ 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); int from_bitField0_ = bitField0_; result.database_ = database_; if (versionTimeBuilder_ == null) { @@ -1394,39 +1237,38 @@ public com.google.spanner.admin.database.v1.Backup buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -1513,87 +1355,84 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - database_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 34: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - case 40: - { - sizeBytes_ = input.readInt64(); - - break; - } // case 40 - case 48: - { - state_ = input.readEnum(); - - 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); - - break; - } // case 66 - case 74: - { - input.readMessage(getVersionTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 74 - case 80: - { - databaseDialect_ = input.readEnum(); - - 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); - - break; - } // case 98 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + database_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 34: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + case 40: { + sizeBytes_ = input.readInt64(); + + break; + } // case 40 + case 48: { + state_ = input.readEnum(); + + 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); + + break; + } // case 66 + case 74: { + input.readMessage( + getVersionTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 74 + case 80: { + databaseDialect_ = input.readEnum(); + + 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); + + 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) { @@ -1603,13 +1442,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
@@ -1619,13 +1455,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; @@ -1634,8 +1470,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
@@ -1645,14 +1479,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 { @@ -1660,8 +1495,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
@@ -1671,22 +1504,20 @@ 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) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; onChanged(); return this; } /** - * - * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Name of the database from which this backup was
@@ -1696,18 +1527,15 @@ public Builder setDatabase(java.lang.String value) {
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearDatabase() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); return this; } /** - * - * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Name of the database from which this backup was
@@ -1717,16 +1545,16 @@ 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) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -1734,13 +1562,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
@@ -1749,15 +1572,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 versionTimeBuilder_ != null || 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
@@ -1766,21 +1586,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
@@ -1804,8 +1619,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
@@ -1815,7 +1628,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();
         onChanged();
@@ -1826,8 +1640,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
@@ -1841,9 +1653,7 @@ public Builder mergeVersionTime(com.google.protobuf.Timestamp value) {
       if (versionTimeBuilder_ == null) {
         if (versionTime_ != null) {
           versionTime_ =
-              com.google.protobuf.Timestamp.newBuilder(versionTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(versionTime_).mergeFrom(value).buildPartial();
         } else {
           versionTime_ = value;
         }
@@ -1855,8 +1665,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
@@ -1878,8 +1686,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
@@ -1890,13 +1696,11 @@ public Builder clearVersionTime() {
      * .google.protobuf.Timestamp version_time = 9;
      */
     public com.google.protobuf.Timestamp.Builder getVersionTimeBuilder() {
-
+      
       onChanged();
       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
@@ -1910,14 +1714,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
@@ -1928,17 +1729,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_;
@@ -1946,13 +1744,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
@@ -1963,15 +1756,12 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp expire_time = 3; - * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || expireTime_ != null; } /** - * - * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -1982,21 +1772,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
@@ -2022,8 +1807,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
@@ -2035,7 +1818,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();
         onChanged();
@@ -2046,8 +1830,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
@@ -2063,7 +1845,7 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
       if (expireTimeBuilder_ == null) {
         if (expireTime_ != null) {
           expireTime_ =
-              com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial();
         } else {
           expireTime_ = value;
         }
@@ -2075,8 +1857,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
@@ -2100,8 +1880,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
@@ -2114,13 +1892,11 @@ public Builder clearExpireTime() {
      * .google.protobuf.Timestamp expire_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
-
+      
       onChanged();
       return getExpireTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -2136,14 +1912,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
@@ -2156,17 +1929,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_;
@@ -2174,8 +1944,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.
@@ -2191,13 +1959,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; @@ -2206,8 +1974,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.
@@ -2223,14 +1989,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 { @@ -2238,8 +2005,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.
@@ -2255,22 +2020,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -2286,18 +2049,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -2313,16 +2073,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2330,64 +2090,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 createTimeBuilder_ != null || 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. */ 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) { @@ -2403,19 +2144,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(); onChanged(); @@ -2426,23 +2164,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2454,17 +2188,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() { if (createTimeBuilder_ == null) { @@ -2478,85 +2208,66 @@ 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() { - + onChanged(); 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 @@ -2564,36 +2275,30 @@ 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; 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() { - + sizeBytes_ = 0L; onChanged(); return this; @@ -2601,75 +2306,51 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.Backup.State result = - com.google.spanner.admin.database.v1.Backup.State.valueOf(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.valueOf(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. */ @@ -2677,43 +2358,34 @@ public Builder setState(com.google.spanner.admin.database.v1.Backup.State value) if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); 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_ & 0x00000001) != 0)) { referencingDatabases_ = new com.google.protobuf.LazyStringArrayList(referencingDatabases_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2724,18 +2396,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
@@ -2746,18 +2414,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
@@ -2768,10 +2431,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. */ @@ -2779,8 +2439,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
@@ -2791,19 +2449,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
@@ -2814,26 +2468,22 @@ 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) { + public Builder setReferencingDatabases( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureReferencingDatabasesIsMutable(); + 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
@@ -2844,25 +2494,21 @@ 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) { + public Builder addReferencingDatabases( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureReferencingDatabasesIsMutable(); + 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
@@ -2873,22 +2519,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
@@ -2899,10 +2542,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() { @@ -2912,8 +2552,6 @@ public Builder clearReferencingDatabases() { return this; } /** - * - * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2924,18 +2562,16 @@ 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) { + public Builder addReferencingDatabasesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureReferencingDatabasesIsMutable(); referencingDatabases_.add(value); onChanged(); @@ -2944,58 +2580,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 encryptionInfoBuilder_ != null || 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. */ 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) { @@ -3011,15 +2628,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) { @@ -3033,23 +2646,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 (encryptionInfo_ != null) { encryptionInfo_ = - com.google.spanner.admin.database.v1.EncryptionInfo.newBuilder(encryptionInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.admin.database.v1.EncryptionInfo.newBuilder(encryptionInfo_).mergeFrom(value).buildPartial(); } else { encryptionInfo_ = value; } @@ -3061,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() { if (encryptionInfoBuilder_ == null) { @@ -3083,65 +2686,48 @@ 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() { - + onChanged(); 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_; @@ -3149,75 +2735,51 @@ 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. */ public Builder setDatabaseDialectValue(int value) { - + databaseDialect_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.DatabaseDialect result = - com.google.spanner.admin.database.v1.DatabaseDialect.valueOf(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.valueOf(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. */ @@ -3225,43 +2787,34 @@ public Builder setDatabaseDialect(com.google.spanner.admin.database.v1.DatabaseD if (value == null) { throw new NullPointerException(); } - + databaseDialect_ = value.getNumber(); onChanged(); 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() { - + databaseDialect_ = 0; onChanged(); 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_ & 0x00000002) != 0)) { referencingBackups_ = new com.google.protobuf.LazyStringArrayList(referencingBackups_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -3272,18 +2825,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
@@ -3294,18 +2843,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
@@ -3316,10 +2860,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. */ @@ -3327,8 +2868,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
@@ -3339,19 +2878,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
@@ -3362,26 +2897,22 @@ 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) { + public Builder setReferencingBackups( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureReferencingBackupsIsMutable(); + 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
@@ -3392,25 +2923,21 @@ 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) { + public Builder addReferencingBackups( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureReferencingBackupsIsMutable(); + 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
@@ -3421,22 +2948,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
@@ -3447,10 +2971,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() { @@ -3460,8 +2981,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
@@ -3472,18 +2991,16 @@ 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) { + public Builder addReferencingBackupsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureReferencingBackupsIsMutable(); referencingBackups_.add(value); onChanged(); @@ -3492,13 +3009,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
@@ -3507,18 +3019,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 maxExpireTimeBuilder_ != null || maxExpireTime_ != null; } /** - * - * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3527,24 +3034,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
@@ -3553,9 +3053,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) { @@ -3571,8 +3069,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
@@ -3581,11 +3077,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(); onChanged(); @@ -3596,8 +3091,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
@@ -3606,17 +3099,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 (maxExpireTime_ != null) { maxExpireTime_ = - com.google.protobuf.Timestamp.newBuilder(maxExpireTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(maxExpireTime_).mergeFrom(value).buildPartial(); } else { maxExpireTime_ = value; } @@ -3628,8 +3117,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
@@ -3638,9 +3125,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() { if (maxExpireTimeBuilder_ == null) { @@ -3654,8 +3139,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
@@ -3664,18 +3147,14 @@ 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() { - + onChanged(); 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
@@ -3684,22 +3163,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
@@ -3708,29 +3182,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); } @@ -3740,12 +3209,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(); } @@ -3754,27 +3223,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; @@ -3789,4 +3258,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 74% 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 a092e117175..2dcb67198b3 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,41 +26,37 @@ private BackupInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BackupInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; private volatile java.lang.Object backup_; /** - * - * *
    * Name of the backup.
    * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } - * * @return The backup. */ @java.lang.Override @@ -87,29 +65,29 @@ public java.lang.String getBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backup_ = s; return s; } } /** - * - * *
    * 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 { @@ -120,8 +98,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
@@ -131,7 +107,6 @@ public com.google.protobuf.ByteString getBackupBytes() {
    * 
* * .google.protobuf.Timestamp version_time = 4; - * * @return Whether the versionTime field is set. */ @java.lang.Override @@ -139,8 +114,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
@@ -150,7 +123,6 @@ public boolean hasVersionTime() {
    * 
* * .google.protobuf.Timestamp version_time = 4; - * * @return The versionTime. */ @java.lang.Override @@ -158,8 +130,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
@@ -178,15 +148,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 @@ -194,15 +161,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 @@ -210,8 +174,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,14 +189,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int SOURCE_DATABASE_FIELD_NUMBER = 3;
   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 @@ -243,29 +202,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 { @@ -274,7 +233,6 @@ public com.google.protobuf.ByteString getSourceDatabaseBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -286,7 +244,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backup_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, backup_); } @@ -312,13 +271,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; @@ -328,24 +289,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; } @@ -374,136 +338,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(); @@ -527,9 +485,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 @@ -548,8 +506,7 @@ 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); + com.google.spanner.admin.database.v1.BackupInfo result = new com.google.spanner.admin.database.v1.BackupInfo(this); result.backup_ = backup_; if (versionTimeBuilder_ == null) { result.versionTime_ = versionTime_; @@ -570,39 +527,38 @@ public com.google.spanner.admin.database.v1.BackupInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -610,8 +566,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_; onChanged(); @@ -652,37 +607,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - backup_ = input.readStringRequireUtf8(); + case 10: { + backup_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - sourceDatabase_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + sourceDatabase_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - input.readMessage(getVersionTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 26 + case 34: { + input.readMessage( + getVersionTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -695,20 +649,18 @@ public Builder mergeFrom( 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; @@ -717,21 +669,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 { @@ -739,61 +690,54 @@ 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) { + public Builder setBackup( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + backup_ = value; onChanged(); return this; } /** - * - * *
      * Name of the backup.
      * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearBackup() { - + backup_ = getDefaultInstance().getBackup(); onChanged(); 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) { + public Builder setBackupBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + backup_ = value; onChanged(); return this; @@ -801,13 +745,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
@@ -817,15 +756,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 versionTimeBuilder_ != null || versionTime_ != null; } /** - * - * *
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -835,21 +771,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
@@ -874,8 +805,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
@@ -886,7 +815,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();
         onChanged();
@@ -897,8 +827,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
@@ -913,9 +841,7 @@ public Builder mergeVersionTime(com.google.protobuf.Timestamp value) {
       if (versionTimeBuilder_ == null) {
         if (versionTime_ != null) {
           versionTime_ =
-              com.google.protobuf.Timestamp.newBuilder(versionTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(versionTime_).mergeFrom(value).buildPartial();
         } else {
           versionTime_ = value;
         }
@@ -927,8 +853,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
@@ -951,8 +875,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
@@ -964,13 +886,11 @@ public Builder clearVersionTime() {
      * .google.protobuf.Timestamp version_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getVersionTimeBuilder() {
-
+      
       onChanged();
       return getVersionTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -985,14 +905,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
@@ -1004,17 +921,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_;
@@ -1022,49 +936,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 createTimeBuilder_ != null || 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. */ 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.
@@ -1086,8 +987,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.
@@ -1095,7 +994,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();
         onChanged();
@@ -1106,8 +1006,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.
@@ -1119,7 +1017,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       if (createTimeBuilder_ == null) {
         if (createTime_ != null) {
           createTime_ =
-              com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
         } else {
           createTime_ = value;
         }
@@ -1131,8 +1029,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.
@@ -1152,8 +1048,6 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1162,13 +1056,11 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+      
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1180,14 +1072,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.
@@ -1196,17 +1085,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_;
@@ -1214,20 +1100,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; @@ -1236,21 +1120,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 { @@ -1258,68 +1141,61 @@ 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) { + public Builder setSourceDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceDatabase_ = value; 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() { - + sourceDatabase_ = getDefaultInstance().getSourceDatabase(); onChanged(); 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) { + public Builder setSourceDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceDatabase_ = 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); } @@ -1329,12 +1205,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(); } @@ -1343,27 +1219,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; @@ -1378,4 +1254,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..9c379d416ed --- /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\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/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..81db8ccf216 --- /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,118 @@ +// 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/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 eedbec7ae06..c32ca828129 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,53 +222,33 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int 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 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() { + @java.lang.Override public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType getEncryptionType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType result = - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.valueOf( - encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType - .UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.valueOf(encryptionType_); + return result == null ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.UNRECOGNIZED : result; } public static final int KMS_KEY_NAME_FIELD_NUMBER = 2; 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
@@ -316,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 @@ -328,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
@@ -345,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 { @@ -365,7 +301,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -377,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_)) { @@ -396,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_); @@ -413,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; } @@ -444,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 +509,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,8 +530,7 @@ 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); + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig result = new com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig(this); result.encryptionType_ = encryptionType_; result.kmsKeyName_ = kmsKeyName_; onBuilt(); @@ -619,50 +541,46 @@ public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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()); } @@ -696,25 +614,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - encryptionType_ = input.readEnum(); + case 8: { + encryptionType_ = input.readEnum(); - break; - } // case 8 - case 18: - { - kmsKeyName_ = input.readStringRequireUtf8(); + break; + } // case 8 + case 18: { + kmsKeyName_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -727,106 +642,73 @@ public Builder mergeFrom( 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. */ public Builder setEncryptionTypeValue(int value) { - + encryptionType_ = value; onChanged(); 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() { + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType getEncryptionType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType result = - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.valueOf( - encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType - .UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.valueOf(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(); } - + encryptionType_ = value.getNumber(); onChanged(); 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() { - + encryptionType_ = 0; onChanged(); return this; @@ -834,8 +716,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
@@ -844,16 +724,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; @@ -862,8 +740,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
@@ -872,17 +748,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 { @@ -890,8 +765,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
@@ -900,25 +773,21 @@ 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) { + public Builder setKmsKeyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -927,21 +796,16 @@ 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() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -950,26 +814,24 @@ 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) { + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,43 +841,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; @@ -1027,8 +887,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 77% 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 6285a695e61..eef34e90c16 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,35 +27,32 @@ 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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the backup being created through the copy operation.
    * Values are of the form
@@ -81,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ @java.lang.Override @@ -90,15 +68,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
@@ -106,15 +83,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,8 +103,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SOURCE_BACKUP_FIELD_NUMBER = 2; private volatile java.lang.Object sourceBackup_; /** - * - * *
    * The name of the source backup that is being copied.
    * Values are of the form
@@ -134,7 +110,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } - * * @return The sourceBackup. */ @java.lang.Override @@ -143,15 +118,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
@@ -159,15 +133,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 { @@ -178,15 +153,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 @@ -194,26 +166,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.
@@ -229,8 +194,6 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
   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]
@@ -247,7 +210,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 @@ -255,8 +217,6 @@ public boolean hasCancelTime() { return cancelTime_ != null; } /** - * - * *
    * The time at which cancellation of CopyBackup operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -273,7 +233,6 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return The cancelTime. */ @java.lang.Override @@ -281,8 +240,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]
@@ -306,7 +263,6 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -318,7 +274,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -347,10 +304,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;
@@ -360,23 +319,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;
@@ -407,104 +369,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].
@@ -512,32 +466,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();
@@ -561,9 +516,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
@@ -582,8 +537,7 @@ 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);
+      com.google.spanner.admin.database.v1.CopyBackupMetadata result = new com.google.spanner.admin.database.v1.CopyBackupMetadata(this);
       result.name_ = name_;
       result.sourceBackup_ = sourceBackup_;
       if (progressBuilder_ == null) {
@@ -604,39 +558,38 @@ public com.google.spanner.admin.database.v1.CopyBackupMetadata buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -644,8 +597,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_;
         onChanged();
@@ -686,37 +638,36 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                sourceBackup_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              sourceBackup_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -729,8 +680,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -738,13 +687,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; @@ -753,8 +702,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -762,14 +709,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 { @@ -777,8 +725,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -786,22 +732,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -809,18 +753,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -828,16 +769,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -845,8 +786,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
@@ -854,13 +793,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; @@ -869,8 +808,6 @@ public java.lang.String getSourceBackup() { } } /** - * - * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -878,14 +815,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 { @@ -893,8 +831,6 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { } } /** - * - * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -902,22 +838,20 @@ 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) { + public Builder setSourceBackup( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceBackup_ = value; onChanged(); return this; } /** - * - * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -925,18 +859,15 @@ public Builder setSourceBackup(java.lang.String value) {
      * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearSourceBackup() { - + sourceBackup_ = getDefaultInstance().getSourceBackup(); onChanged(); return this; } /** - * - * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -944,16 +875,16 @@ 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) { + public Builder setSourceBackupBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceBackup_ = value; onChanged(); return this; @@ -961,49 +892,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 progressBuilder_ != null || 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. */ 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.
@@ -1025,8 +943,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.
@@ -1046,8 +962,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1059,9 +973,7 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr
       if (progressBuilder_ == null) {
         if (progress_ != null) {
           progress_ =
-              com.google.spanner.admin.database.v1.OperationProgress.newBuilder(progress_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.spanner.admin.database.v1.OperationProgress.newBuilder(progress_).mergeFrom(value).buildPartial();
         } else {
           progress_ = value;
         }
@@ -1073,8 +985,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.
@@ -1094,8 +1004,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1104,13 +1012,11 @@ public Builder clearProgress() {
      * .google.spanner.admin.database.v1.OperationProgress progress = 3;
      */
     public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgressBuilder() {
-
+      
       onChanged();
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1122,14 +1028,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.
@@ -1138,17 +1041,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_;
@@ -1156,13 +1056,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]
@@ -1179,15 +1074,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 cancelTimeBuilder_ != null || cancelTime_ != null; } /** - * - * *
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1204,21 +1096,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]
@@ -1250,8 +1137,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]
@@ -1269,7 +1154,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();
         onChanged();
@@ -1280,8 +1166,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]
@@ -1303,7 +1187,7 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
         if (cancelTime_ != null) {
           cancelTime_ =
-              com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
         } else {
           cancelTime_ = value;
         }
@@ -1315,8 +1199,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]
@@ -1346,8 +1228,6 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1366,13 +1246,11 @@ public Builder clearCancelTime() {
      * .google.protobuf.Timestamp cancel_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
-
+      
       onChanged();
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1394,14 +1272,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]
@@ -1420,24 +1295,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);
     }
 
@@ -1447,12 +1319,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();
   }
@@ -1461,27 +1333,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;
@@ -1496,4 +1368,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 70%
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 1478c5941d7..3dcafcc5d73 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,44 +27,38 @@ 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; 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 @@ -91,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 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,8 +101,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int BACKUP_ID_FIELD_NUMBER = 2; private volatile java.lang.Object backupId_; /** - * - * *
    * Required. The id of the backup copy.
    * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -136,7 +108,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ @java.lang.Override @@ -145,15 +116,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
@@ -161,15 +131,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 { @@ -180,8 +151,6 @@ public com.google.protobuf.ByteString getBackupIdBytes() { public static final int SOURCE_BACKUP_FIELD_NUMBER = 3; 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.
@@ -191,10 +160,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 @@ -203,15 +169,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.
@@ -221,18 +186,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 { @@ -243,8 +207,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
@@ -253,9 +215,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 @@ -263,8 +223,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
@@ -273,9 +231,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 @@ -283,8 +239,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
@@ -293,8 +247,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() { @@ -304,8 +257,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
@@ -314,10 +265,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 @@ -325,8 +273,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
@@ -335,21 +281,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
@@ -358,18 +297,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() { + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { return getEncryptionConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,7 +316,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -416,10 +352,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; @@ -429,24 +367,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; @@ -479,136 +421,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(); @@ -634,9 +569,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 @@ -655,8 +590,7 @@ 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); + com.google.spanner.admin.database.v1.CopyBackupRequest result = new com.google.spanner.admin.database.v1.CopyBackupRequest(this); result.parent_ = parent_; result.backupId_ = backupId_; result.sourceBackup_ = sourceBackup_; @@ -678,39 +612,38 @@ public com.google.spanner.admin.database.v1.CopyBackupRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -718,8 +651,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_; onChanged(); @@ -764,44 +696,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - backupId_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - sourceBackup_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - case 42: - { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + backupId_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + sourceBackup_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + case 42: { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -814,23 +743,19 @@ public Builder mergeFrom( 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; @@ -839,24 +764,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 { @@ -864,70 +786,57 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -935,8 +844,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
@@ -944,13 +851,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; @@ -959,8 +866,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
@@ -968,14 +873,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 { @@ -983,8 +889,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
@@ -992,22 +896,20 @@ public com.google.protobuf.ByteString getBackupIdBytes() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId(java.lang.String value) { + public Builder setBackupId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + backupId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The id of the backup copy.
      * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -1015,18 +917,15 @@ public Builder setBackupId(java.lang.String value) {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBackupId() { - + backupId_ = getDefaultInstance().getBackupId(); onChanged(); return this; } /** - * - * *
      * Required. The id of the backup copy.
      * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -1034,16 +933,16 @@ public Builder clearBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { + public Builder setBackupIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + backupId_ = value; onChanged(); return this; @@ -1051,8 +950,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.
@@ -1062,16 +959,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; @@ -1080,8 +975,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.
@@ -1091,17 +984,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 { @@ -1109,8 +1001,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.
@@ -1120,25 +1010,21 @@ 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) { + public Builder setSourceBackup( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceBackup_ = value; onChanged(); return this; } /** - * - * *
      * Required. The source backup to be copied.
      * The source backup needs to be in READY state for it to be copied.
@@ -1148,21 +1034,16 @@ 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() { - + sourceBackup_ = getDefaultInstance().getSourceBackup(); onChanged(); return this; } /** - * - * *
      * Required. The source backup to be copied.
      * The source backup needs to be in READY state for it to be copied.
@@ -1172,19 +1053,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) { + public Builder setSourceBackupBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceBackup_ = value; onChanged(); return this; @@ -1192,13 +1071,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
@@ -1207,17 +1081,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 expireTimeBuilder_ != null || 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
@@ -1226,23 +1096,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
@@ -1251,8 +1115,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) { @@ -1268,8 +1131,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
@@ -1278,10 +1139,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(); onChanged(); @@ -1292,8 +1153,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
@@ -1302,14 +1161,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 (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -1321,8 +1179,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
@@ -1331,8 +1187,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() { if (expireTimeBuilder_ == null) { @@ -1346,8 +1201,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
@@ -1356,17 +1209,14 @@ 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() { - + onChanged(); 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
@@ -1375,21 +1225,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
@@ -1398,21 +1244,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_; @@ -1420,13 +1262,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
@@ -1435,18 +1272,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 encryptionConfigBuilder_ != null || encryptionConfig_ != null; } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1455,24 +1287,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
@@ -1481,12 +1306,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(); @@ -1500,8 +1322,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
@@ -1510,9 +1330,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) { @@ -1526,8 +1344,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
@@ -1536,19 +1352,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 (encryptionConfig_ != null) { encryptionConfig_ = - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.newBuilder( - encryptionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.newBuilder(encryptionConfig_).mergeFrom(value).buildPartial(); } else { encryptionConfig_ = value; } @@ -1560,8 +1370,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
@@ -1570,9 +1378,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() { if (encryptionConfigBuilder_ == null) { @@ -1586,8 +1392,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
@@ -1596,19 +1400,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() { + 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
@@ -1617,23 +1416,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
@@ -1642,29 +1435,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); } @@ -1674,12 +1462,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(); } @@ -1688,27 +1476,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; @@ -1723,4 +1511,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 7336a2719f9..80bfef9551a 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,53 +224,33 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int 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 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() { + @java.lang.Override public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType getEncryptionType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType result = - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.valueOf( - encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType - .UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.valueOf(encryptionType_); + return result == null ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.UNRECOGNIZED : result; } public static final int KMS_KEY_NAME_FIELD_NUMBER = 2; 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
@@ -318,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 @@ -330,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
@@ -347,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 { @@ -367,7 +303,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -379,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_)) { @@ -398,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_); @@ -415,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; } @@ -446,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 +511,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,8 +532,7 @@ 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); + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig result = new com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig(this); result.encryptionType_ = encryptionType_; result.kmsKeyName_ = kmsKeyName_; onBuilt(); @@ -623,50 +543,46 @@ public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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()); } @@ -700,25 +616,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - encryptionType_ = input.readEnum(); + case 8: { + encryptionType_ = input.readEnum(); - break; - } // case 8 - case 18: - { - kmsKeyName_ = input.readStringRequireUtf8(); + break; + } // case 8 + case 18: { + kmsKeyName_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -731,106 +644,73 @@ public Builder mergeFrom( 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. */ public Builder setEncryptionTypeValue(int value) { - + encryptionType_ = value; onChanged(); 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() { + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType getEncryptionType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType result = - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.valueOf( - encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType - .UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.valueOf(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(); } - + encryptionType_ = value.getNumber(); onChanged(); 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() { - + encryptionType_ = 0; onChanged(); return this; @@ -838,8 +718,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
@@ -848,16 +726,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; @@ -866,8 +742,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
@@ -876,17 +750,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 { @@ -894,8 +767,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
@@ -904,25 +775,21 @@ 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) { + public Builder setKmsKeyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -931,21 +798,16 @@ 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() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -954,26 +816,24 @@ 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) { + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -983,43 +843,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; @@ -1031,8 +889,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 76% 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 2e61a284eaa..2ebe23e5de1 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,41 +27,37 @@ private CreateBackupMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateBackupMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.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;
   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 @@ -88,29 +66,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the backup being created.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -121,14 +99,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DATABASE_FIELD_NUMBER = 2; 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 @@ -137,29 +112,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 { @@ -170,15 +145,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 @@ -186,26 +158,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.
@@ -221,8 +186,6 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
   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]
@@ -239,7 +202,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 @@ -247,8 +209,6 @@ public boolean hasCancelTime() { return cancelTime_ != null; } /** - * - * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -265,7 +225,6 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return The cancelTime. */ @java.lang.Override @@ -273,8 +232,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]
@@ -298,7 +255,6 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -310,7 +266,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -339,10 +296,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;
@@ -352,23 +311,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;
@@ -399,104 +361,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].
@@ -504,32 +458,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();
@@ -553,9 +508,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
@@ -574,8 +529,7 @@ 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);
+      com.google.spanner.admin.database.v1.CreateBackupMetadata result = new com.google.spanner.admin.database.v1.CreateBackupMetadata(this);
       result.name_ = name_;
       result.database_ = database_;
       if (progressBuilder_ == null) {
@@ -596,39 +550,38 @@ public com.google.spanner.admin.database.v1.CreateBackupMetadata buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -636,8 +589,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_;
         onChanged();
@@ -678,37 +630,36 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                database_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              database_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -721,20 +672,18 @@ public Builder mergeFrom(
 
     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; @@ -743,21 +692,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 { @@ -765,61 +713,54 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the backup being created.
      * 
* * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -827,20 +768,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; @@ -849,21 +788,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 { @@ -871,61 +809,54 @@ 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) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); 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) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -933,49 +864,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 progressBuilder_ != null || 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. */ 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.
@@ -997,8 +915,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.
@@ -1018,8 +934,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -1031,9 +945,7 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr
       if (progressBuilder_ == null) {
         if (progress_ != null) {
           progress_ =
-              com.google.spanner.admin.database.v1.OperationProgress.newBuilder(progress_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.spanner.admin.database.v1.OperationProgress.newBuilder(progress_).mergeFrom(value).buildPartial();
         } else {
           progress_ = value;
         }
@@ -1045,8 +957,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.
@@ -1066,8 +976,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -1076,13 +984,11 @@ public Builder clearProgress() {
      * .google.spanner.admin.database.v1.OperationProgress progress = 3;
      */
     public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgressBuilder() {
-
+      
       onChanged();
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -1094,14 +1000,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.
@@ -1110,17 +1013,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_;
@@ -1128,13 +1028,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]
@@ -1151,15 +1046,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 cancelTimeBuilder_ != null || cancelTime_ != null; } /** - * - * *
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1176,21 +1068,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]
@@ -1222,8 +1109,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]
@@ -1241,7 +1126,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();
         onChanged();
@@ -1252,8 +1138,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]
@@ -1275,7 +1159,7 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
         if (cancelTime_ != null) {
           cancelTime_ =
-              com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
         } else {
           cancelTime_ = value;
         }
@@ -1287,8 +1171,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]
@@ -1318,8 +1200,6 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1338,13 +1218,11 @@ public Builder clearCancelTime() {
      * .google.protobuf.Timestamp cancel_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
-
+      
       onChanged();
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1366,14 +1244,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]
@@ -1392,24 +1267,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);
     }
 
@@ -1419,12 +1291,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();
   }
@@ -1433,27 +1305,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;
@@ -1468,4 +1340,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 66%
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 81e67da1fa3..69cfc26b106 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,35 +26,32 @@ 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; 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
@@ -82,10 +61,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 @@ -94,15 +70,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the instance in which the backup will be
    * created. This must be the same instance that contains the database the
@@ -112,18 +87,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,8 +108,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int BACKUP_ID_FIELD_NUMBER = 2; private volatile java.lang.Object backupId_; /** - * - * *
    * Required. The id of the backup to be created. The `backup_id` appended to
    * `parent` forms the full backup name of the form
@@ -143,7 +115,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ @java.lang.Override @@ -152,15 +123,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
@@ -168,15 +138,16 @@ public java.lang.String getBackupId() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -187,16 +158,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 @@ -204,34 +170,23 @@ 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() { @@ -241,8 +196,6 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() 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
@@ -251,10 +204,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 @@ -262,8 +212,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
@@ -272,21 +220,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
@@ -295,18 +236,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() { + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { return getEncryptionConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -318,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -347,10 +285,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; @@ -360,23 +300,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; @@ -407,136 +350,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(); @@ -560,9 +496,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 @@ -581,8 +517,7 @@ 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); + com.google.spanner.admin.database.v1.CreateBackupRequest result = new com.google.spanner.admin.database.v1.CreateBackupRequest(this); result.parent_ = parent_; result.backupId_ = backupId_; if (backupBuilder_ == null) { @@ -603,39 +538,38 @@ public com.google.spanner.admin.database.v1.CreateBackupRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -643,8 +577,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_; onChanged(); @@ -685,38 +618,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - backupId_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + backupId_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getBackupFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - case 34: - { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 26 + case 34: { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -729,8 +660,6 @@ public Builder mergeFrom( 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
@@ -740,16 +669,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; @@ -758,8 +685,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
@@ -769,17 +694,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 { @@ -787,8 +711,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
@@ -798,25 +720,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the instance in which the backup will be
      * created. This must be the same instance that contains the database the
@@ -826,21 +744,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); 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
@@ -850,19 +763,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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -870,8 +781,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
@@ -879,13 +788,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; @@ -894,8 +803,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
@@ -903,14 +810,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 { @@ -918,8 +826,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
@@ -927,22 +833,20 @@ public com.google.protobuf.ByteString getBackupIdBytes() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId(java.lang.String value) { + public Builder setBackupId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + backupId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` appended to
      * `parent` forms the full backup name of the form
@@ -950,18 +854,15 @@ public Builder setBackupId(java.lang.String value) {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBackupId() { - + backupId_ = getDefaultInstance().getBackupId(); onChanged(); return this; } /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` appended to
      * `parent` forms the full backup name of the form
@@ -969,16 +870,16 @@ public Builder clearBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { + public Builder setBackupIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + backupId_ = value; onChanged(); return this; @@ -986,58 +887,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 backupBuilder_ != null || 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. */ 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) { @@ -1053,17 +935,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(); onChanged(); @@ -1074,23 +953,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 (backup_ != null) { backup_ = - com.google.spanner.admin.database.v1.Backup.newBuilder(backup_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.admin.database.v1.Backup.newBuilder(backup_).mergeFrom(value).buildPartial(); } else { backup_ = value; } @@ -1102,15 +975,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() { if (backupBuilder_ == null) { @@ -1124,64 +993,48 @@ 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() { - + onChanged(); 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_; @@ -1189,13 +1042,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
@@ -1204,18 +1052,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 encryptionConfigBuilder_ != null || encryptionConfig_ != null; } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1224,24 +1067,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
@@ -1250,12 +1086,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(); @@ -1269,8 +1102,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
@@ -1279,9 +1110,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) { @@ -1295,8 +1124,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
@@ -1305,19 +1132,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 (encryptionConfig_ != null) { encryptionConfig_ = - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.newBuilder( - encryptionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.newBuilder(encryptionConfig_).mergeFrom(value).buildPartial(); } else { encryptionConfig_ = value; } @@ -1329,8 +1150,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
@@ -1339,9 +1158,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() { if (encryptionConfigBuilder_ == null) { @@ -1355,8 +1172,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
@@ -1365,19 +1180,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() { + 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
@@ -1386,23 +1196,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
@@ -1411,29 +1215,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); } @@ -1443,12 +1242,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(); } @@ -1457,27 +1256,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; @@ -1492,4 +1291,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 50a386510ef..1c94b21e78b 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,57 +11,52 @@
  *
  * 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;
   private volatile java.lang.Object database_;
   /**
-   *
-   *
    * 
    * The database being created.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The database. */ @java.lang.Override @@ -87,29 +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; } } /** - * - * *
    * 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 { @@ -118,7 +96,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -130,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_); } @@ -154,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.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; } @@ -182,104 +160,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].
@@ -287,32 +257,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();
@@ -322,9 +293,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
@@ -343,8 +314,7 @@ 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);
+      com.google.spanner.admin.database.v1.CreateDatabaseMetadata result = new com.google.spanner.admin.database.v1.CreateDatabaseMetadata(this);
       result.database_ = database_;
       onBuilt();
       return result;
@@ -354,39 +324,38 @@ public com.google.spanner.admin.database.v1.CreateDatabaseMetadata buildPartial(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -394,8 +363,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_;
         onChanged();
@@ -426,19 +394,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                database_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              database_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -451,20 +417,18 @@ public Builder mergeFrom(
 
     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; @@ -473,21 +437,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 { @@ -495,68 +458,61 @@ 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) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; onChanged(); return this; } /** - * - * *
      * The database being created.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearDatabase() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); 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) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = 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); } @@ -566,12 +522,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(); } @@ -580,27 +536,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; @@ -615,4 +571,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 067490d01b5..1ad94957f8d 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,44 +28,38 @@ 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; 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 @@ -92,32 +68,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The 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,8 +102,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CREATE_STATEMENT_FIELD_NUMBER = 2; 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
@@ -139,7 +111,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The createStatement. */ @java.lang.Override @@ -148,15 +119,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
@@ -166,15 +136,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 { @@ -185,8 +156,6 @@ public com.google.protobuf.ByteString getCreateStatementBytes() { public static final int EXTRA_STATEMENTS_FIELD_NUMBER = 3; 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
@@ -195,15 +164,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
@@ -212,15 +179,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
@@ -229,7 +193,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. */ @@ -237,8 +200,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
@@ -247,29 +208,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 @@ -277,89 +233,61 @@ 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() { + public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { return getEncryptionConfig(); } public static final int DATABASE_DIALECT_FIELD_NUMBER = 5; private int 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 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() { + @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.DatabaseDialect result = - com.google.spanner.admin.database.v1.DatabaseDialect.valueOf(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.valueOf(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; @@ -371,7 +299,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -384,9 +313,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); @@ -413,12 +340,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; @@ -428,20 +355,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; @@ -475,136 +405,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(); @@ -626,9 +549,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 @@ -647,8 +570,7 @@ 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); int from_bitField0_ = bitField0_; result.parent_ = parent_; result.createStatement_ = createStatement_; @@ -671,39 +593,38 @@ public com.google.spanner.admin.database.v1.CreateDatabaseRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -711,8 +632,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_; onChanged(); @@ -763,45 +683,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - createStatement_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + createStatement_ = input.readStringRequireUtf8(); - 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); + 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); - break; - } // case 34 - case 40: - { - databaseDialect_ = input.readEnum(); + break; + } // case 34 + case 40: { + databaseDialect_ = input.readEnum(); - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -811,28 +726,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; @@ -841,24 +751,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 { @@ -866,70 +773,57 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the instance 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -937,8 +831,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
@@ -948,13 +840,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; @@ -963,8 +855,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
@@ -974,14 +864,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 { @@ -989,8 +880,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
@@ -1000,22 +889,20 @@ 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) { + public Builder setCreateStatement( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + createStatement_ = value; 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
@@ -1025,18 +912,15 @@ public Builder setCreateStatement(java.lang.String value) {
      * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearCreateStatement() { - + createStatement_ = getDefaultInstance().getCreateStatement(); 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
@@ -1046,33 +930,29 @@ 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) { + public Builder setCreateStatementBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + createStatement_ = value; onChanged(); 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_ & 0x00000001) != 0)) { extraStatements_ = new com.google.protobuf.LazyStringArrayList(extraStatements_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1081,15 +961,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
@@ -1098,15 +976,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
@@ -1115,7 +990,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. */ @@ -1123,8 +997,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
@@ -1133,16 +1005,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
@@ -1151,23 +1021,21 @@ 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) { + public Builder setExtraStatements( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExtraStatementsIsMutable(); + 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
@@ -1176,22 +1044,20 @@ 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) { + public Builder addExtraStatements( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExtraStatementsIsMutable(); + 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
@@ -1200,19 +1066,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
@@ -1221,7 +1086,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() { @@ -1231,8 +1095,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
@@ -1241,15 +1103,15 @@ 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) { + public Builder addExtraStatementsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExtraStatementsIsMutable(); extraStatements_.add(value); onChanged(); @@ -1258,67 +1120,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 encryptionConfigBuilder_ != null || 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. */ 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(); @@ -1332,17 +1174,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) { @@ -1356,26 +1194,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 (encryptionConfig_ != null) { encryptionConfig_ = - com.google.spanner.admin.database.v1.EncryptionConfig.newBuilder(encryptionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.admin.database.v1.EncryptionConfig.newBuilder(encryptionConfig_).mergeFrom(value).buildPartial(); } else { encryptionConfig_ = value; } @@ -1387,17 +1218,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() { if (encryptionConfigBuilder_ == null) { @@ -1411,72 +1238,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() { + 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_; @@ -1484,75 +1293,51 @@ 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. */ public Builder setDatabaseDialectValue(int value) { - + databaseDialect_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.DatabaseDialect result = - com.google.spanner.admin.database.v1.DatabaseDialect.valueOf(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.valueOf(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. */ @@ -1560,33 +1345,28 @@ public Builder setDatabaseDialect(com.google.spanner.admin.database.v1.DatabaseD if (value == null) { throw new NullPointerException(); } - + databaseDialect_ = value.getNumber(); onChanged(); 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() { - + databaseDialect_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1596,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(); } @@ -1610,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; @@ -1645,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 70% 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 fe79a020d62..300d23911e8 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;
@@ -268,8 +232,6 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The name of the database. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -279,7 +241,6 @@ private State(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -288,15 +249,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>`,
@@ -306,15 +266,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 { @@ -325,57 +286,38 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int STATE_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override public com.google.spanner.admin.database.v1.Database.State getState() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.Database.State result = - com.google.spanner.admin.database.v1.Database.State.valueOf(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.valueOf(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 @@ -383,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 @@ -399,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() { @@ -416,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 @@ -434,36 +364,25 @@ 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() { @@ -473,8 +392,6 @@ public com.google.spanner.admin.database.v1.RestoreInfoOrBuilder getRestoreInfoO 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.
@@ -482,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 @@ -493,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.
@@ -502,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.
@@ -524,21 +429,16 @@ 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() { + public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { return getEncryptionConfig(); } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 8; 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
@@ -549,18 +449,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
@@ -571,18 +466,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
@@ -593,17 +484,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
@@ -614,17 +501,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
@@ -635,9 +518,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( @@ -648,8 +529,6 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio public static final int VERSION_RETENTION_PERIOD_FIELD_NUMBER = 6; 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
@@ -659,7 +538,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 @@ -668,15 +546,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
@@ -686,15 +563,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 { @@ -705,8 +583,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
@@ -715,10 +591,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 @@ -726,8 +599,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
@@ -736,21 +607,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
@@ -759,9 +623,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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder() { @@ -771,8 +633,6 @@ public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder() public static final int DEFAULT_LEADER_FIELD_NUMBER = 9; private volatile java.lang.Object defaultLeader_; /** - * - * *
    * Output only. The read-write region which contains the database's leader
    * replicas.
@@ -782,7 +642,6 @@ public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder()
    * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The defaultLeader. */ @java.lang.Override @@ -791,15 +650,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.
@@ -809,15 +667,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 { @@ -828,47 +687,31 @@ public com.google.protobuf.ByteString getDefaultLeaderBytes() { public static final int DATABASE_DIALECT_FIELD_NUMBER = 10; private int 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 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() { + @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.DatabaseDialect result = - com.google.spanner.admin.database.v1.DatabaseDialect.valueOf(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.valueOf(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; @@ -880,12 +723,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) { @@ -909,9 +752,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); @@ -926,35 +767,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; @@ -964,35 +809,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; @@ -1040,136 +892,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(); @@ -1218,9 +1064,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 @@ -1239,8 +1085,7 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; result.state_ = state_; @@ -1284,39 +1129,38 @@ public com.google.spanner.admin.database.v1.Database buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -1359,10 +1203,9 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.Database other) { encryptionInfoBuilder_ = null; encryptionInfo_ = other.encryptionInfo_; bitField0_ = (bitField0_ & ~0x00000001); - encryptionInfoBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEncryptionInfoFieldBuilder() - : null; + encryptionInfoBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEncryptionInfoFieldBuilder() : null; } else { encryptionInfoBuilder_.addAllMessages(other.encryptionInfo_); } @@ -1408,83 +1251,78 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - state_ = input.readEnum(); - - break; - } // case 16 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 34: - { - input.readMessage(getRestoreInfoFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - case 42: - { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - case 50: - { - versionRetentionPeriod_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: - { - input.readMessage( - getEarliestVersionTimeFieldBuilder().getBuilder(), extensionRegistry); - - 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(); - - break; - } // case 74 - case 80: - { - databaseDialect_ = input.readEnum(); - - break; - } // case 80 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + state_ = input.readEnum(); + + break; + } // case 16 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 34: { + input.readMessage( + getRestoreInfoFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + case 42: { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + case 50: { + versionRetentionPeriod_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: { + input.readMessage( + getEarliestVersionTimeFieldBuilder().getBuilder(), + extensionRegistry); + + 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(); + + break; + } // case 74 + case 80: { + databaseDialect_ = input.readEnum(); + + 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) { @@ -1494,13 +1332,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>`,
@@ -1510,13 +1345,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; @@ -1525,8 +1360,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1536,14 +1369,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 { @@ -1551,8 +1385,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1562,22 +1394,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1587,18 +1417,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1608,16 +1435,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1625,75 +1452,51 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.Database.State result = - com.google.spanner.admin.database.v1.Database.State.valueOf(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.valueOf(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. */ @@ -1701,26 +1504,21 @@ public Builder setState(com.google.spanner.admin.database.v1.Database.State valu if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -1728,58 +1526,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 createTimeBuilder_ != null || 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. */ 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) { @@ -1795,17 +1574,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(); onChanged(); @@ -1816,21 +1592,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1842,15 +1614,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() { if (createTimeBuilder_ == null) { @@ -1864,64 +1632,48 @@ 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() { - + onChanged(); 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_; @@ -1929,61 +1681,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 restoreInfoBuilder_ != null || 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. */ 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) { @@ -1999,16 +1732,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) { @@ -2022,24 +1751,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 (restoreInfo_ != null) { restoreInfo_ = - com.google.spanner.admin.database.v1.RestoreInfo.newBuilder(restoreInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.admin.database.v1.RestoreInfo.newBuilder(restoreInfo_).mergeFrom(value).buildPartial(); } else { restoreInfo_ = value; } @@ -2051,16 +1774,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() { if (restoreInfoBuilder_ == null) { @@ -2074,67 +1793,51 @@ 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() { - + onChanged(); 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_; @@ -2142,13 +1845,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.
@@ -2156,18 +1854,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 encryptionConfigBuilder_ != null || encryptionConfig_ != null; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2175,24 +1868,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.
@@ -2200,12 +1886,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(); @@ -2219,8 +1902,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.
@@ -2228,9 +1909,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) { @@ -2244,8 +1923,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.
@@ -2253,18 +1930,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 (encryptionConfig_ != null) { encryptionConfig_ = - com.google.spanner.admin.database.v1.EncryptionConfig.newBuilder(encryptionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.admin.database.v1.EncryptionConfig.newBuilder(encryptionConfig_).mergeFrom(value).buildPartial(); } else { encryptionConfig_ = value; } @@ -2276,8 +1948,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.
@@ -2285,9 +1955,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() { if (encryptionConfigBuilder_ == null) { @@ -2301,8 +1969,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.
@@ -2310,19 +1976,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() { + onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2330,23 +1991,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.
@@ -2354,48 +2009,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_ & 0x00000001) != 0)) { - encryptionInfo_ = - new java.util.ArrayList( - encryptionInfo_); + encryptionInfo_ = new java.util.ArrayList(encryptionInfo_); bitField0_ |= 0x00000001; - } + } } 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
@@ -2406,12 +2048,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 { @@ -2419,8 +2058,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
@@ -2431,9 +2068,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) { @@ -2443,8 +2078,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
@@ -2455,9 +2088,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) { @@ -2467,8 +2098,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
@@ -2479,9 +2108,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) { @@ -2498,8 +2125,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
@@ -2510,9 +2135,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) { @@ -2526,8 +2149,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
@@ -2538,9 +2159,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) { @@ -2556,8 +2175,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
@@ -2568,9 +2185,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) { @@ -2587,8 +2202,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
@@ -2599,9 +2212,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) { @@ -2615,8 +2226,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
@@ -2627,9 +2236,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) { @@ -2643,8 +2250,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
@@ -2655,15 +2260,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); @@ -2671,8 +2275,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
@@ -2683,9 +2285,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) { @@ -2698,8 +2298,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
@@ -2710,9 +2308,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) { @@ -2725,8 +2321,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
@@ -2737,17 +2331,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
@@ -2758,21 +2348,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
@@ -2783,12 +2368,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 { @@ -2796,8 +2379,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
@@ -2808,17 +2389,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
@@ -2829,19 +2406,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
@@ -2852,26 +2424,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_ & 0x00000001) != 0), getParentForChildren(), @@ -2883,8 +2447,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
@@ -2893,15 +2455,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; @@ -2910,8 +2471,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
@@ -2920,16 +2479,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 { @@ -2937,8 +2496,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
@@ -2947,24 +2504,21 @@ 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) { + public Builder setVersionRetentionPeriod( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + versionRetentionPeriod_ = value; 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
@@ -2973,20 +2527,16 @@ 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() { - + versionRetentionPeriod_ = getDefaultInstance().getVersionRetentionPeriod(); 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
@@ -2995,18 +2545,17 @@ 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) { + public Builder setVersionRetentionPeriodBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + versionRetentionPeriod_ = value; onChanged(); return this; @@ -3014,13 +2563,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
@@ -3029,18 +2573,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 earliestVersionTimeBuilder_ != null || 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
@@ -3049,24 +2588,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
@@ -3075,9 +2607,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) { @@ -3093,8 +2623,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
@@ -3103,11 +2631,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(); onChanged(); @@ -3118,8 +2645,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
@@ -3128,17 +2653,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 (earliestVersionTime_ != null) { earliestVersionTime_ = - com.google.protobuf.Timestamp.newBuilder(earliestVersionTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(earliestVersionTime_).mergeFrom(value).buildPartial(); } else { earliestVersionTime_ = value; } @@ -3150,8 +2671,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
@@ -3160,9 +2679,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() { if (earliestVersionTimeBuilder_ == null) { @@ -3176,8 +2693,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
@@ -3186,18 +2701,14 @@ 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() { - + onChanged(); 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
@@ -3206,22 +2717,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
@@ -3230,22 +2736,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_; @@ -3253,8 +2754,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.
@@ -3264,13 +2763,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; @@ -3279,8 +2778,6 @@ public java.lang.String getDefaultLeader() { } } /** - * - * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -3290,14 +2787,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 { @@ -3305,8 +2803,6 @@ public com.google.protobuf.ByteString getDefaultLeaderBytes() { } } /** - * - * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -3316,22 +2812,20 @@ 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) { + public Builder setDefaultLeader( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultLeader_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -3341,18 +2835,15 @@ 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() { - + defaultLeader_ = getDefaultInstance().getDefaultLeader(); onChanged(); return this; } /** - * - * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -3362,16 +2853,16 @@ 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) { + public Builder setDefaultLeaderBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultLeader_ = value; onChanged(); return this; @@ -3379,75 +2870,51 @@ 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. */ public Builder setDatabaseDialectValue(int value) { - + databaseDialect_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.DatabaseDialect result = - com.google.spanner.admin.database.v1.DatabaseDialect.valueOf(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.valueOf(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. */ @@ -3455,33 +2922,28 @@ public Builder setDatabaseDialect(com.google.spanner.admin.database.v1.DatabaseD if (value == null) { throw new NullPointerException(); } - + databaseDialect_ = value.getNumber(); onChanged(); 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() { - + databaseDialect_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3491,12 +2953,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(); } @@ -3505,27 +2967,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; @@ -3540,4 +3002,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 caf5d8c8a28..18f0f286b32 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,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/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; 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/
@@ -81,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -90,15 +68,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/
@@ -108,15 +85,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 { @@ -125,7 +103,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +114,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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 +139,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -189,135 +167,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(); @@ -327,9 +299,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 @@ -348,8 +320,7 @@ 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); + com.google.spanner.admin.database.v1.DatabaseRole result = new com.google.spanner.admin.database.v1.DatabaseRole(this); result.name_ = name_; onBuilt(); return result; @@ -359,39 +330,38 @@ public com.google.spanner.admin.database.v1.DatabaseRole buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -399,8 +369,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_; onChanged(); @@ -431,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -456,8 +423,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -467,13 +432,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; @@ -482,8 +447,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/
@@ -493,14 +456,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 { @@ -508,8 +472,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/
@@ -519,22 +481,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -544,18 +504,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -565,23 +522,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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -591,12 +548,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(); } @@ -605,27 +562,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; @@ -640,4 +597,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 62% 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 132def1d553..2db64e41ce7 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,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; 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 @@ -90,33 +66,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Name of the backup to delete.
    * Values are of the form
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -189,136 +163,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(); @@ -328,9 +295,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 @@ -349,8 +316,7 @@ 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); + com.google.spanner.admin.database.v1.DeleteBackupRequest result = new com.google.spanner.admin.database.v1.DeleteBackupRequest(this); result.name_ = name_; onBuilt(); return result; @@ -360,39 +326,38 @@ public com.google.spanner.admin.database.v1.DeleteBackupRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -400,8 +365,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_; onChanged(); @@ -432,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,24 +419,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/<project>/instances/<instance>/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; @@ -483,25 +441,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 { @@ -509,80 +464,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +534,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(); } @@ -606,27 +548,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; @@ -641,4 +583,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 62% 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 c665eb03209..728dc0b0f39 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,85 +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; /** - * - * *
  * 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; 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 @@ -88,31 +64,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 { @@ -121,7 +95,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +106,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -157,15 +131,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -185,136 +159,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(); @@ -324,9 +291,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 @@ -345,8 +312,7 @@ 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); + com.google.spanner.admin.database.v1.DropDatabaseRequest result = new com.google.spanner.admin.database.v1.DropDatabaseRequest(this); result.database_ = database_; onBuilt(); return result; @@ -356,39 +322,38 @@ public com.google.spanner.admin.database.v1.DropDatabaseRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -396,8 +361,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_; onChanged(); @@ -428,19 +392,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - database_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + database_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -453,22 +415,18 @@ public Builder mergeFrom( 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; @@ -477,23 +435,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 { @@ -501,74 +456,61 @@ 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) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); 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) = { ... } * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = 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); } @@ -578,12 +520,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(); } @@ -592,27 +534,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; @@ -627,4 +569,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 f6bd4cc81f4..25f529806d8 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,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/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; private volatile java.lang.Object kmsKeyName_; /** - * - * *
    * The Cloud KMS key to be used for encrypting and decrypting
    * the database. Values are of the form
@@ -79,7 +58,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 @@ -88,15 +66,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
@@ -104,15 +81,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 { @@ -121,7 +99,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,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(kmsKeyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kmsKeyName_); } @@ -157,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.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; } @@ -185,136 +163,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(); @@ -324,9 +295,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 @@ -345,8 +316,7 @@ 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); + com.google.spanner.admin.database.v1.EncryptionConfig result = new com.google.spanner.admin.database.v1.EncryptionConfig(this); result.kmsKeyName_ = kmsKeyName_; onBuilt(); return result; @@ -356,39 +326,38 @@ public com.google.spanner.admin.database.v1.EncryptionConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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; @@ -396,8 +365,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_; onChanged(); @@ -428,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - kmsKeyName_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + kmsKeyName_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -453,8 +419,6 @@ public Builder mergeFrom( private java.lang.Object kmsKeyName_ = ""; /** - * - * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -462,13 +426,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; @@ -477,8 +441,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -486,14 +448,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 { @@ -501,8 +464,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
@@ -510,22 +471,20 @@ 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) { + public Builder setKmsKeyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** - * - * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -533,18 +492,15 @@ public Builder setKmsKeyName(java.lang.String value) {
      * 
* * string kms_key_name = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** - * - * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -552,23 +508,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) { + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -578,12 +534,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(); } @@ -592,27 +548,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; @@ -627,4 +583,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 66% 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 8bdb75e9b15..a48e8349b9d 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,59 +205,40 @@ private Type(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 3;
   private int 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 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() { + @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfo.Type getEncryptionType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.EncryptionInfo.Type result = - com.google.spanner.admin.database.v1.EncryptionInfo.Type.valueOf(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.valueOf(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 @@ -298,36 +246,27 @@ 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() { @@ -337,17 +276,12 @@ public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { public static final int KMS_KEY_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object kmsKeyVersion_; /** - * - * *
    * Output only. 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 @@ -356,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 { @@ -390,7 +322,6 @@ public com.google.protobuf.ByteString getKmsKeyVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -402,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) { @@ -425,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; @@ -440,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; } @@ -479,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(); @@ -625,9 +552,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 @@ -646,8 +573,7 @@ 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); + com.google.spanner.admin.database.v1.EncryptionInfo result = new com.google.spanner.admin.database.v1.EncryptionInfo(this); result.encryptionType_ = encryptionType_; if (encryptionStatusBuilder_ == null) { result.encryptionStatus_ = encryptionStatus_; @@ -663,39 +589,38 @@ public com.google.spanner.admin.database.v1.EncryptionInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -703,8 +628,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()); } @@ -741,32 +665,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - kmsKeyVersion_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: - { - encryptionType_ = input.readEnum(); - - break; - } // case 24 - case 34: - { - input.readMessage( - getEncryptionStatusFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + kmsKeyVersion_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + encryptionType_ = input.readEnum(); + + break; + } // case 24 + case 34: { + input.readMessage( + getEncryptionStatusFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -779,103 +700,73 @@ public Builder mergeFrom( 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. */ public Builder setEncryptionTypeValue(int value) { - + encryptionType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.EncryptionInfo.Type result = - com.google.spanner.admin.database.v1.EncryptionInfo.Type.valueOf(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.valueOf(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(); } - + encryptionType_ = value.getNumber(); onChanged(); 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() { - + encryptionType_ = 0; onChanged(); return this; @@ -883,59 +774,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 encryptionStatusBuilder_ != null || 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. */ 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) { @@ -951,18 +828,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(); onChanged(); @@ -973,22 +848,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 (encryptionStatus_ != null) { encryptionStatus_ = - com.google.rpc.Status.newBuilder(encryptionStatus_).mergeFrom(value).buildPartial(); + com.google.rpc.Status.newBuilder(encryptionStatus_).mergeFrom(value).buildPartial(); } else { encryptionStatus_ = value; } @@ -1000,16 +872,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() { if (encryptionStatusBuilder_ == null) { @@ -1023,65 +892,54 @@ 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() { - + onChanged(); 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_; @@ -1089,23 +947,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; @@ -1114,24 +968,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 { @@ -1139,77 +990,64 @@ 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) { + public Builder setKmsKeyVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyVersion_ = value; 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() { - + kmsKeyVersion_ = getDefaultInstance().getKmsKeyVersion(); 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) = { ... } * @param value The bytes for kmsKeyVersion to set. * @return This builder for chaining. */ - public Builder setKmsKeyVersionBytes(com.google.protobuf.ByteString value) { + public Builder setKmsKeyVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyVersion_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1219,12 +1057,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(); } @@ -1233,27 +1071,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; @@ -1268,4 +1106,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 05034d4fa07..e0408975159 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,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; 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 @@ -90,33 +66,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Name of the backup.
    * Values are of the form
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -189,136 +163,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(); @@ -328,9 +295,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 @@ -349,8 +316,7 @@ 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); + com.google.spanner.admin.database.v1.GetBackupRequest result = new com.google.spanner.admin.database.v1.GetBackupRequest(this); result.name_ = name_; onBuilt(); return result; @@ -360,39 +326,38 @@ public com.google.spanner.admin.database.v1.GetBackupRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -400,8 +365,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_; onChanged(); @@ -432,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,24 +419,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/<project>/instances/<instance>/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; @@ -483,25 +441,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 { @@ -509,80 +464,67 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +534,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(); } @@ -606,27 +548,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; @@ -641,4 +583,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 d568a20a51c..7eee232dbc5 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,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; 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 @@ -90,33 +66,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 { @@ -125,7 +99,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -161,15 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -189,136 +163,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(); @@ -328,9 +295,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 @@ -349,8 +316,7 @@ 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); + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest result = new com.google.spanner.admin.database.v1.GetDatabaseDdlRequest(this); result.database_ = database_; onBuilt(); return result; @@ -360,39 +326,38 @@ public com.google.spanner.admin.database.v1.GetDatabaseDdlRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -400,8 +365,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_; onChanged(); @@ -432,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - database_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + database_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,24 +419,20 @@ public Builder mergeFrom( 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; @@ -483,25 +441,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 { @@ -509,80 +464,67 @@ 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) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); 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) = { ... } * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = 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); } @@ -592,12 +534,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(); } @@ -606,27 +548,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; @@ -641,4 +583,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 39078a788f9..9bb9240a64a 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,114 +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 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; 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. */ @@ -116,24 +89,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; @@ -145,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 { for (int i = 0; i < statements_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, statements_.getRaw(i)); } @@ -174,15 +145,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; } @@ -204,136 +175,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(); @@ -343,9 +307,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 @@ -364,8 +328,7 @@ 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); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { statements_ = statements_.getUnmodifiableView(); @@ -380,39 +343,38 @@ public com.google.spanner.admin.database.v1.GetDatabaseDdlResponse buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -420,8 +382,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_; @@ -458,20 +419,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) { @@ -481,58 +440,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. */ @@ -540,95 +488,85 @@ 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) { + public Builder setStatements( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStatementsIsMutable(); + 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) { + public Builder addStatements( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStatementsIsMutable(); + 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() { @@ -638,31 +576,29 @@ 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) { + public Builder addStatementsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + 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); } @@ -672,12 +608,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(); } @@ -686,27 +622,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; @@ -721,4 +657,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 63% 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 db2cd3787c1..a41074a8b5f 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,86 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; 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 @@ -89,32 +65,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The 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 { @@ -123,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -187,136 +161,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(); @@ -326,9 +293,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 @@ -347,8 +314,7 @@ 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); + com.google.spanner.admin.database.v1.GetDatabaseRequest result = new com.google.spanner.admin.database.v1.GetDatabaseRequest(this); result.name_ = name_; onBuilt(); return result; @@ -358,39 +324,38 @@ public com.google.spanner.admin.database.v1.GetDatabaseRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -398,8 +363,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_; onChanged(); @@ -430,19 +394,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -455,23 +417,19 @@ public Builder mergeFrom( 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; @@ -480,24 +438,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 { @@ -505,77 +460,64 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -585,12 +527,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(); } @@ -599,27 +541,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; @@ -634,4 +576,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 82% 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 e98ba4fa272..10228360ad6 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,44 +28,38 @@ 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;
   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 @@ -92,32 +68,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The 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,8 +102,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; 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
@@ -194,7 +166,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -203,15 +174,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
@@ -276,15 +246,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 { @@ -295,15 +266,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; 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 @@ -314,8 +282,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; 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]
@@ -324,7 +290,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -333,15 +298,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]
@@ -350,15 +314,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 { @@ -367,7 +332,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -379,7 +343,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -408,7 +373,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_); @@ -421,18 +387,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; } @@ -458,104 +427,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].
@@ -563,32 +524,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();
@@ -604,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();
     }
 
@@ -626,8 +587,7 @@ 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);
+      com.google.spanner.admin.database.v1.ListBackupOperationsRequest result = new com.google.spanner.admin.database.v1.ListBackupOperationsRequest(this);
       result.parent_ = parent_;
       result.filter_ = filter_;
       result.pageSize_ = pageSize_;
@@ -640,50 +600,46 @@ public com.google.spanner.admin.database.v1.ListBackupOperationsRequest buildPar
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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_;
         onChanged();
@@ -725,37 +681,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                filter_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              filter_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 24:
-              {
-                pageSize_ = input.readInt32();
+              break;
+            } // case 18
+            case 24: {
+              pageSize_ = input.readInt32();
 
-                break;
-              } // case 24
-            case 34:
-              {
-                pageToken_ = input.readStringRequireUtf8();
+              break;
+            } // case 24
+            case 34: {
+              pageToken_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -768,23 +719,19 @@ public Builder mergeFrom(
 
     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; @@ -793,24 +740,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 { @@ -818,70 +762,57 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -889,8 +820,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
@@ -955,13 +884,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; @@ -970,8 +899,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
@@ -1036,14 +963,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 { @@ -1051,8 +979,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
@@ -1117,22 +1043,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression that filters the list of returned backup operations.
      * A filter expression consists of a field name, a
@@ -1197,18 +1121,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression that filters the list of returned backup operations.
      * A filter expression consists of a field name, a
@@ -1273,32 +1194,29 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - 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 @@ -1306,38 +1224,32 @@ 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; 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() { - + pageSize_ = 0; onChanged(); return this; @@ -1345,8 +1257,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]
@@ -1355,13 +1265,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; @@ -1370,8 +1280,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]
@@ -1380,14 +1288,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 { @@ -1395,8 +1304,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]
@@ -1405,22 +1312,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -1429,18 +1334,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -1449,23 +1351,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1475,43 +1377,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; @@ -1523,8 +1423,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 78% 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 738566cbfb7..6d2028d1e40 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,35 +27,32 @@ 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;
   private java.util.List operations_;
   /**
-   *
-   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -93,8 +72,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
@@ -110,13 +87,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
@@ -136,8 +111,6 @@ public int getOperationsCount() {
     return operations_.size();
   }
   /**
-   *
-   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -157,8 +130,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
@@ -174,15 +145,14 @@ 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;
   private volatile java.lang.Object nextPageToken_;
   /**
-   *
-   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -190,7 +160,6 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -199,15 +168,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]
@@ -215,15 +183,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 { @@ -232,7 +201,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +212,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } @@ -261,7 +230,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_); @@ -274,16 +244,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; } @@ -307,105 +278,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].
@@ -413,33 +375,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();
@@ -456,14 +418,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();
     }
 
@@ -478,8 +439,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (operationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -499,50 +459,46 @@ public com.google.spanner.admin.database.v1.ListBackupOperationsResponse buildPa
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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()) {
@@ -561,10 +517,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_);
           }
@@ -600,31 +555,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();
+            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();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -634,28 +588,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
@@ -678,8 +625,6 @@ public java.util.List getOperationsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -702,8 +647,6 @@ public int getOperationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -726,8 +669,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
@@ -742,7 +683,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();
@@ -756,8 +698,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
@@ -784,8 +724,6 @@ public Builder setOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -814,8 +752,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
@@ -830,7 +766,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();
@@ -844,8 +781,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
@@ -860,7 +795,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());
@@ -871,8 +807,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
@@ -899,8 +833,6 @@ public Builder addOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -919,7 +851,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);
@@ -927,8 +860,6 @@ public Builder addAllOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -954,8 +885,6 @@ public Builder clearOperations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -981,8 +910,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
@@ -997,12 +924,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
@@ -1017,16 +943,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
@@ -1041,8 +965,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 {
@@ -1050,8 +974,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
@@ -1067,12 +989,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
@@ -1087,13 +1007,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
@@ -1108,22 +1027,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_;
@@ -1131,8 +1048,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]
@@ -1140,13 +1055,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; @@ -1155,8 +1070,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1164,14 +1077,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 { @@ -1179,8 +1093,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1188,22 +1100,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1211,18 +1121,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1230,23 +1137,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1256,43 +1163,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; @@ -1304,8 +1209,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 cb567719afc..7e9b0f74369 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,44 +27,38 @@ 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; 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 @@ -91,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 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,8 +101,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; 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
@@ -162,7 +134,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -171,15 +142,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
@@ -213,15 +183,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 { @@ -232,15 +203,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; 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 @@ -251,8 +219,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; 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
@@ -261,7 +227,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -270,15 +235,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
@@ -287,15 +251,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 { @@ -304,7 +269,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,7 +280,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -345,7 +310,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_); @@ -358,18 +324,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; } @@ -395,136 +364,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(); @@ -540,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 @@ -561,8 +523,7 @@ 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); + com.google.spanner.admin.database.v1.ListBackupsRequest result = new com.google.spanner.admin.database.v1.ListBackupsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -575,39 +536,38 @@ public com.google.spanner.admin.database.v1.ListBackupsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -615,8 +575,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_; onChanged(); @@ -658,37 +617,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - filter_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + filter_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); - break; - } // case 24 - case 34: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 24 + case 34: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -701,23 +655,19 @@ public Builder mergeFrom( 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; @@ -726,24 +676,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 { @@ -751,70 +698,57 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -822,8 +756,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
@@ -857,13 +789,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; @@ -872,8 +804,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
@@ -907,14 +837,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 { @@ -922,8 +853,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
@@ -957,22 +886,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression that filters the list of returned backups.
      * A filter expression consists of a field name, a comparison operator, and a
@@ -1006,18 +933,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression that filters the list of returned backups.
      * A filter expression consists of a field name, a comparison operator, and a
@@ -1051,32 +975,29 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - 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 @@ -1084,38 +1005,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1123,8 +1038,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
@@ -1133,13 +1046,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; @@ -1148,8 +1061,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
@@ -1158,14 +1069,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 { @@ -1173,8 +1085,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
@@ -1183,22 +1093,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -1207,18 +1115,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -1227,23 +1132,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1253,12 +1158,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(); } @@ -1267,27 +1172,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; @@ -1302,4 +1207,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 7e19475c1c2..778002b7a34 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,35 +26,32 @@ private ListBackupsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListBackupsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; 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`.
@@ -85,8 +64,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`.
@@ -95,13 +72,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`.
@@ -114,8 +89,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`.
@@ -128,8 +101,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`.
@@ -138,15 +109,14 @@ 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;
   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
@@ -154,7 +124,6 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -163,15 +132,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -179,15 +147,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -196,7 +165,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,7 +176,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < backups_.size(); i++) { output.writeMessage(1, backups_.get(i)); } @@ -225,7 +194,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_); @@ -238,16 +208,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -271,136 +242,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(); @@ -417,9 +381,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 @@ -438,8 +402,7 @@ 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); int from_bitField0_ = bitField0_; if (backupsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -459,39 +422,38 @@ public com.google.spanner.admin.database.v1.ListBackupsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -499,8 +461,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()) { @@ -519,10 +480,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_); } @@ -558,32 +518,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(); + 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(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -593,28 +551,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`.
@@ -630,8 +581,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`.
@@ -647,8 +596,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`.
@@ -664,8 +611,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`.
@@ -673,7 +618,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();
@@ -687,8 +633,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`.
@@ -708,8 +652,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`.
@@ -731,8 +673,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`.
@@ -740,7 +680,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();
@@ -754,8 +695,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`.
@@ -763,7 +702,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());
@@ -774,8 +714,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`.
@@ -795,8 +733,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`.
@@ -808,7 +744,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);
@@ -816,8 +753,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`.
@@ -836,8 +771,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`.
@@ -856,8 +789,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`.
@@ -865,12 +796,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`.
@@ -878,16 +808,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`.
@@ -895,8 +823,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 {
@@ -904,8 +832,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`.
@@ -914,12 +840,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`.
@@ -927,13 +851,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`.
@@ -941,23 +864,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_;
@@ -965,8 +885,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
@@ -974,13 +892,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; @@ -989,8 +907,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
@@ -998,14 +914,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1013,8 +930,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
@@ -1022,22 +937,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -1045,18 +958,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -1064,23 +974,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1090,12 +1000,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(); } @@ -1104,27 +1014,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; @@ -1139,4 +1049,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 76752e7b128..dd336633a10 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,44 +28,38 @@ 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;
   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 @@ -92,32 +68,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The 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,8 +102,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * An expression that filters the list of returned operations.
    * A filter expression consists of a field name, a
@@ -170,7 +142,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -179,15 +150,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
@@ -228,15 +198,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 { @@ -247,15 +218,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; 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 @@ -266,8 +234,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; 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]
@@ -276,7 +242,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -285,15 +250,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]
@@ -302,15 +266,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 { @@ -319,7 +284,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -331,7 +295,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -360,7 +325,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_); @@ -373,18 +339,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; } @@ -410,105 +379,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].
@@ -516,33 +476,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();
@@ -558,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
@@ -581,8 +539,7 @@ 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);
+      com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest result = new com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest(this);
       result.parent_ = parent_;
       result.filter_ = filter_;
       result.pageSize_ = pageSize_;
@@ -595,51 +552,46 @@ public com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest buildP
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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_;
         onChanged();
@@ -681,37 +633,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                filter_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              filter_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 24:
-              {
-                pageSize_ = input.readInt32();
+              break;
+            } // case 18
+            case 24: {
+              pageSize_ = input.readInt32();
 
-                break;
-              } // case 24
-            case 34:
-              {
-                pageToken_ = input.readStringRequireUtf8();
+              break;
+            } // case 24
+            case 34: {
+              pageToken_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -724,23 +671,19 @@ public Builder mergeFrom(
 
     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; @@ -749,24 +692,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 { @@ -774,70 +714,57 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -845,8 +772,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
@@ -887,13 +812,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; @@ -902,8 +827,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -944,14 +867,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 { @@ -959,8 +883,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
@@ -1001,22 +923,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -1057,18 +977,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -1109,32 +1026,29 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - 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 @@ -1142,38 +1056,32 @@ 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; 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() { - + pageSize_ = 0; onChanged(); return this; @@ -1181,8 +1089,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]
@@ -1191,13 +1097,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; @@ -1206,8 +1112,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]
@@ -1216,14 +1120,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 { @@ -1231,8 +1136,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]
@@ -1241,22 +1144,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -1265,18 +1166,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -1285,23 +1183,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1311,43 +1209,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; @@ -1359,8 +1255,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 ad1b7e491e4..1f7d628b368 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,35 +27,32 @@ 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;
   private java.util.List operations_;
   /**
-   *
-   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -90,8 +68,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
@@ -103,13 +79,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
@@ -125,8 +99,6 @@ public int getOperationsCount() {
     return operations_.size();
   }
   /**
-   *
-   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -142,8 +114,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
@@ -155,15 +125,14 @@ 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;
   private volatile java.lang.Object nextPageToken_;
   /**
-   *
-   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -171,7 +140,6 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -180,15 +148,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]
@@ -196,15 +163,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 { @@ -213,7 +181,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,7 +192,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -242,7 +210,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_); @@ -255,16 +224,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; } @@ -288,105 +258,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].
@@ -394,33 +355,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();
@@ -437,16 +398,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
@@ -460,8 +419,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (operationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -481,51 +439,46 @@ public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse build
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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()) {
@@ -544,10 +497,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_);
           }
@@ -583,31 +535,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();
+            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();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -617,28 +568,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
@@ -657,8 +601,6 @@ public java.util.List getOperationsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -677,8 +619,6 @@ public int getOperationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -697,8 +637,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
@@ -709,7 +647,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();
@@ -723,8 +662,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
@@ -747,8 +684,6 @@ public Builder setOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -773,8 +708,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
@@ -785,7 +718,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();
@@ -799,8 +733,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
@@ -811,7 +743,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());
@@ -822,8 +755,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
@@ -846,8 +777,6 @@ public Builder addOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -862,7 +791,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);
@@ -870,8 +800,6 @@ public Builder addAllOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -893,8 +821,6 @@ public Builder clearOperations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -916,8 +842,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
@@ -928,12 +852,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
@@ -944,16 +867,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
@@ -964,8 +885,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 {
@@ -973,8 +894,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
@@ -986,12 +905,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
@@ -1002,13 +919,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
@@ -1019,22 +935,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_;
@@ -1042,8 +956,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]
@@ -1051,13 +963,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; @@ -1066,8 +978,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -1075,14 +985,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 { @@ -1090,8 +1001,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -1099,22 +1008,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -1122,18 +1029,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -1141,23 +1045,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1167,43 +1071,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; @@ -1215,8 +1117,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 f7f43479cd2..c6971acf985 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,45 +26,39 @@ 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; 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 @@ -91,33 +67,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The 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 { @@ -128,15 +102,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -147,8 +118,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -156,7 +125,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -165,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.ListDatabaseRolesResponse.next_page_token] from a
@@ -181,15 +148,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 { @@ -198,7 +166,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,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_); } @@ -233,7 +201,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_); @@ -246,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.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; } @@ -280,136 +251,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(); @@ -423,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(); } @@ -445,8 +408,7 @@ 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); + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest result = new com.google.spanner.admin.database.v1.ListDatabaseRolesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -458,39 +420,38 @@ public com.google.spanner.admin.database.v1.ListDatabaseRolesRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -498,9 +459,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_; onChanged(); @@ -538,31 +497,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -575,24 +530,20 @@ public Builder mergeFrom( 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; @@ -601,25 +552,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 { @@ -627,89 +575,73 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * 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 @@ -717,38 +649,32 @@ 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; 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() { - + pageSize_ = 0; onChanged(); return this; @@ -756,8 +682,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
@@ -765,13 +689,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; @@ -780,8 +704,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
@@ -789,14 +711,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 { @@ -804,8 +727,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
@@ -813,22 +734,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -836,18 +755,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -855,23 +771,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -881,13 +797,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(); } @@ -896,27 +811,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; @@ -931,4 +846,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 ff25375a51a..66e75ba47b1 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,35 +26,32 @@ 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; private java.util.List databaseRoles_; /** - * - * *
    * Database roles that matched the request.
    * 
@@ -84,8 +63,6 @@ public java.util.List getData return databaseRoles_; } /** - * - * *
    * Database roles that matched the request.
    * 
@@ -93,13 +70,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.
    * 
@@ -111,8 +86,6 @@ public int getDatabaseRolesCount() { return databaseRoles_.size(); } /** - * - * *
    * Database roles that matched the request.
    * 
@@ -124,8 +97,6 @@ public com.google.spanner.admin.database.v1.DatabaseRole getDatabaseRoles(int in return databaseRoles_.get(index); } /** - * - * *
    * Database roles that matched the request.
    * 
@@ -141,8 +112,6 @@ public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRol public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -150,7 +119,6 @@ public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRol
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -159,15 +127,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -175,15 +142,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -192,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < databaseRoles_.size(); i++) { output.writeMessage(1, databaseRoles_.get(i)); } @@ -221,7 +189,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_); @@ -234,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -267,136 +237,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(); @@ -413,14 +376,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(); } @@ -435,8 +397,7 @@ 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); int from_bitField0_ = bitField0_; if (databaseRolesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -456,39 +417,38 @@ public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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; @@ -496,9 +456,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()) { @@ -517,10 +475,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_); } @@ -556,33 +513,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(); + 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(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -592,38 +546,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 { @@ -631,8 +575,6 @@ private void ensureDatabaseRolesIsMutable() { } } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -647,8 +589,6 @@ public int getDatabaseRolesCount() { } } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -663,8 +603,6 @@ public com.google.spanner.admin.database.v1.DatabaseRole getDatabaseRoles(int in } } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -686,8 +624,6 @@ public Builder setDatabaseRoles( return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -706,8 +642,6 @@ public Builder setDatabaseRoles( return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -728,8 +662,6 @@ public Builder addDatabaseRoles(com.google.spanner.admin.database.v1.DatabaseRol return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -751,8 +683,6 @@ public Builder addDatabaseRoles( return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -771,8 +701,6 @@ public Builder addDatabaseRoles( return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -791,8 +719,6 @@ public Builder addDatabaseRoles( return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -803,7 +729,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); @@ -811,8 +738,6 @@ public Builder addAllDatabaseRoles( return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -830,8 +755,6 @@ public Builder clearDatabaseRoles() { return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -849,8 +772,6 @@ public Builder removeDatabaseRoles(int index) { return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -862,8 +783,6 @@ public com.google.spanner.admin.database.v1.DatabaseRole.Builder getDatabaseRole return getDatabaseRolesFieldBuilder().getBuilder(index); } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -873,22 +792,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 { @@ -896,8 +812,6 @@ public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRol } } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -905,12 +819,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.
      * 
@@ -919,35 +831,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(), @@ -959,8 +862,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]
@@ -968,13 +869,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; @@ -983,8 +884,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -992,14 +891,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1007,8 +907,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -1016,22 +914,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -1039,18 +935,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -1058,23 +951,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1084,43 +977,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; @@ -1132,8 +1023,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 edbac6c33ab..5f333bc84de 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,44 +26,38 @@ 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; 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 @@ -90,32 +66,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The 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 { @@ -126,15 +100,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; 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 @@ -145,8 +116,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; 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
@@ -154,7 +123,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -163,15 +131,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
@@ -179,15 +146,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 { @@ -196,7 +164,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,7 +175,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -231,7 +199,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_); @@ -244,17 +213,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; } @@ -278,136 +249,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(); @@ -421,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 @@ -442,8 +406,7 @@ 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); + com.google.spanner.admin.database.v1.ListDatabasesRequest result = new com.google.spanner.admin.database.v1.ListDatabasesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -455,39 +418,38 @@ public com.google.spanner.admin.database.v1.ListDatabasesRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -495,8 +457,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_; onChanged(); @@ -534,31 +495,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 24: - { - pageSize_ = input.readInt32(); - - break; - } // case 24 - case 34: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 24: { + pageSize_ = input.readInt32(); + + break; + } // case 24 + case 34: { + pageToken_ = input.readStringRequireUtf8(); + + 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) { @@ -571,23 +528,19 @@ public Builder mergeFrom( 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; @@ -596,24 +549,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 { @@ -621,86 +571,70 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * 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 @@ -708,38 +642,32 @@ 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; 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() { - + pageSize_ = 0; onChanged(); return this; @@ -747,8 +675,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
@@ -756,13 +682,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; @@ -771,8 +697,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
@@ -780,14 +704,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 { @@ -795,8 +720,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
@@ -804,22 +727,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -827,18 +748,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -846,23 +764,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -872,12 +790,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(); } @@ -886,27 +804,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; @@ -921,4 +839,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 135567d49fb..5f9b60bfa5b 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,35 +26,32 @@ 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; private java.util.List databases_; /** - * - * *
    * Databases that matched the request.
    * 
@@ -84,8 +63,6 @@ public java.util.List getDatabase return databases_; } /** - * - * *
    * Databases that matched the request.
    * 
@@ -93,13 +70,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.
    * 
@@ -111,8 +86,6 @@ public int getDatabasesCount() { return databases_.size(); } /** - * - * *
    * Databases that matched the request.
    * 
@@ -124,8 +97,6 @@ public com.google.spanner.admin.database.v1.Database getDatabases(int index) { return databases_.get(index); } /** - * - * *
    * Databases that matched the request.
    * 
@@ -133,15 +104,14 @@ 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; 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
@@ -149,7 +119,6 @@ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuil
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -158,15 +127,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -174,15 +142,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -191,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < databases_.size(); i++) { output.writeMessage(1, databases_.get(i)); } @@ -220,7 +189,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_); @@ -233,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -266,136 +237,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(); @@ -412,9 +376,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 @@ -433,8 +397,7 @@ 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); int from_bitField0_ = bitField0_; if (databasesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -454,39 +417,38 @@ public com.google.spanner.admin.database.v1.ListDatabasesResponse buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -494,8 +456,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()) { @@ -514,10 +475,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_); } @@ -553,32 +513,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(); + 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(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -588,29 +546,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.
      * 
@@ -625,8 +575,6 @@ public java.util.List getDatabase } } /** - * - * *
      * Databases that matched the request.
      * 
@@ -641,8 +589,6 @@ public int getDatabasesCount() { } } /** - * - * *
      * Databases that matched the request.
      * 
@@ -657,15 +603,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(); @@ -679,8 +624,6 @@ public Builder setDatabases(int index, com.google.spanner.admin.database.v1.Data return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -699,8 +642,6 @@ public Builder setDatabases( return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -721,15 +662,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(); @@ -743,8 +683,6 @@ public Builder addDatabases(int index, com.google.spanner.admin.database.v1.Data return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -763,8 +701,6 @@ public Builder addDatabases( return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -783,8 +719,6 @@ public Builder addDatabases( return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -795,7 +729,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); @@ -803,8 +738,6 @@ public Builder addAllDatabases( return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -822,8 +755,6 @@ public Builder clearDatabases() { return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -841,44 +772,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 { @@ -886,8 +812,6 @@ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuil } } /** - * - * *
      * Databases that matched the request.
      * 
@@ -895,48 +819,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_; @@ -944,8 +862,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
@@ -953,13 +869,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; @@ -968,8 +884,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
@@ -977,14 +891,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -992,8 +907,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
@@ -1001,22 +914,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -1024,18 +935,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -1043,23 +951,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1069,12 +977,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(); } @@ -1083,27 +991,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; @@ -1118,4 +1026,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 71% 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 fb1a1f4f66d..c1f8abf977b 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_;
   /**
-   *
-   *
    * 
    * 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();
@@ -425,9 +386,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
@@ -446,8 +407,7 @@ 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);
+      com.google.spanner.admin.database.v1.OperationProgress result = new com.google.spanner.admin.database.v1.OperationProgress(this);
       result.progressPercent_ = progressPercent_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -467,39 +427,38 @@ public com.google.spanner.admin.database.v1.OperationProgress buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -507,8 +466,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());
       }
@@ -544,31 +502,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                progressPercent_ = input.readInt32();
+            case 8: {
+              progressPercent_ = input.readInt32();
 
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -579,17 +537,14 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int progressPercent_;
+    private int progressPercent_ ;
     /**
-     *
-     *
      * 
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @return The progressPercent. */ @java.lang.Override @@ -597,38 +552,32 @@ public int getProgressPercent() { return progressPercent_; } /** - * - * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; onChanged(); return this; } /** - * - * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @return This builder for chaining. */ public Builder clearProgressPercent() { - + progressPercent_ = 0; onChanged(); return this; @@ -636,33 +585,24 @@ public Builder clearProgressPercent() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -673,8 +613,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Time the request was received.
      * 
@@ -695,15 +633,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -714,8 +651,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -726,7 +661,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -738,8 +673,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -758,8 +691,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -767,13 +698,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 2; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the request was received.
      * 
@@ -784,12 +713,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Time the request was received.
      * 
@@ -797,17 +725,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -815,35 +740,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -854,8 +770,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -877,8 +791,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -886,7 +798,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 3;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -897,8 +810,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -910,7 +821,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -922,8 +833,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -943,8 +852,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -953,13 +860,11 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+      
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -971,12 +876,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -985,24 +889,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1012,12 +913,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();
   }
@@ -1026,27 +927,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;
@@ -1061,4 +962,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 66%
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 a997ac274ad..cd2b945cc39 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,58 +13,52 @@
  *
  * 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;
   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 @@ -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; } } /** - * - * *
    * 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 { @@ -123,14 +100,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 @@ -138,25 +112,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.
    * 
@@ -169,7 +136,6 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -201,7 +168,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (progress_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProgress()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -211,18 +179,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; @@ -247,105 +216,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
@@ -355,33 +315,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();
@@ -397,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
@@ -420,8 +378,7 @@ 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);
+      com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata result = new com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata(this);
       result.name_ = name_;
       if (progressBuilder_ == null) {
         result.progress_ = progress_;
@@ -436,51 +393,46 @@ public com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata bui
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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_;
         onChanged();
@@ -514,25 +466,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -545,20 +496,18 @@ public Builder mergeFrom(
 
     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; @@ -567,21 +516,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 { @@ -589,61 +537,54 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Name of the restored database being optimized.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -651,47 +592,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 progressBuilder_ != null || progress_ != null; } /** - * - * *
      * 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.
      * 
@@ -712,8 +640,6 @@ public Builder setProgress(com.google.spanner.admin.database.v1.OperationProgres return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -732,8 +658,6 @@ public Builder setProgress( return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -744,9 +668,7 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr if (progressBuilder_ == null) { if (progress_ != null) { progress_ = - com.google.spanner.admin.database.v1.OperationProgress.newBuilder(progress_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.admin.database.v1.OperationProgress.newBuilder(progress_).mergeFrom(value).buildPartial(); } else { progress_ = value; } @@ -758,8 +680,6 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -778,8 +698,6 @@ public Builder clearProgress() { return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -787,13 +705,11 @@ public Builder clearProgress() { * .google.spanner.admin.database.v1.OperationProgress progress = 2; */ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgressBuilder() { - + onChanged(); return getProgressFieldBuilder().getBuilder(); } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -804,14 +720,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.
      * 
@@ -819,24 +732,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); } @@ -846,43 +756,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; @@ -894,8 +802,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 037e253259c..62c49424b5a 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,53 +218,33 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int 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 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() { + @java.lang.Override public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType getEncryptionType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType result = - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.valueOf( - encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - .UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.valueOf(encryptionType_); + return result == null ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.UNRECOGNIZED : result; } public static final int KMS_KEY_NAME_FIELD_NUMBER = 2; 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
@@ -313,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 @@ -325,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
@@ -342,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 { @@ -362,7 +297,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -374,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_)) { @@ -393,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_); @@ -410,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; } @@ -441,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 +505,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,8 +526,7 @@ 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); + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig result = new com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig(this); result.encryptionType_ = encryptionType_; result.kmsKeyName_ = kmsKeyName_; onBuilt(); @@ -619,51 +537,46 @@ public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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()); } @@ -697,25 +610,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - encryptionType_ = input.readEnum(); + case 8: { + encryptionType_ = input.readEnum(); - break; - } // case 8 - case 18: - { - kmsKeyName_ = input.readStringRequireUtf8(); + break; + } // case 8 + case 18: { + kmsKeyName_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -728,106 +638,73 @@ public Builder mergeFrom( 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. */ public Builder setEncryptionTypeValue(int value) { - + encryptionType_ = value; onChanged(); 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() { + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType getEncryptionType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType result = - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - .valueOf(encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - .UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.valueOf(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(); } - + encryptionType_ = value.getNumber(); onChanged(); 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() { - + encryptionType_ = 0; onChanged(); return this; @@ -835,8 +712,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
@@ -845,16 +720,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; @@ -863,8 +736,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
@@ -873,17 +744,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 { @@ -891,8 +761,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
@@ -901,25 +769,21 @@ 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) { + public Builder setKmsKeyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; 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
@@ -928,21 +792,16 @@ 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() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); 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
@@ -951,26 +810,24 @@ 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) { + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -980,43 +837,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; @@ -1028,8 +883,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 78% 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 b199df58bf1..9f82553cf60 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,35 +74,30 @@ public static SourceInfoCase valueOf(int value) {
 
     public static SourceInfoCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return BACKUP_INFO;
-        case 0:
-          return SOURCEINFO_NOT_SET;
-        default:
-          return null;
+        case 3: return BACKUP_INFO;
+        case 0: return SOURCEINFO_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceInfoCase getSourceInfoCase() {
-    return SourceInfoCase.forNumber(sourceInfoCase_);
+  public SourceInfoCase
+  getSourceInfoCase() {
+    return SourceInfoCase.forNumber(
+        sourceInfoCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Name of the database being created and restored to.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ @java.lang.Override @@ -133,29 +106,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Name of the 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 { @@ -166,51 +139,37 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SOURCE_TYPE_FIELD_NUMBER = 2; private int sourceType_; /** - * - * *
    * The type of the restore source.
    * 
* * .google.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() { + @java.lang.Override public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.RestoreSourceType result = - com.google.spanner.admin.database.v1.RestoreSourceType.valueOf(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.valueOf(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 @@ -218,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.
    * 
@@ -247,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(); } @@ -255,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]
@@ -264,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 @@ -272,8 +223,6 @@ public boolean hasProgress() { return progress_ != null; } /** - * - * *
    * The progress of the
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -281,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]
@@ -309,8 +253,6 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
   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]
@@ -326,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 @@ -334,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]
@@ -351,7 +290,6 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 5; - * * @return The cancelTime. */ @java.lang.Override @@ -359,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]
@@ -385,8 +321,6 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   public static final int OPTIMIZE_DATABASE_OPERATION_NAME_FIELD_NUMBER = 6;
   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
@@ -402,7 +336,6 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
    * 
* * string optimize_database_operation_name = 6; - * * @return The optimizeDatabaseOperationName. */ @java.lang.Override @@ -411,15 +344,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
@@ -435,15 +367,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 { @@ -452,7 +385,6 @@ public com.google.protobuf.ByteString getOptimizeDatabaseOperationNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -464,12 +396,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) { @@ -496,25 +428,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; @@ -524,30 +455,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: @@ -591,104 +525,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].
@@ -696,32 +622,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();
@@ -752,14 +679,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();
     }
 
@@ -774,8 +700,7 @@ 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);
+      com.google.spanner.admin.database.v1.RestoreDatabaseMetadata result = new com.google.spanner.admin.database.v1.RestoreDatabaseMetadata(this);
       result.name_ = name_;
       result.sourceType_ = sourceType_;
       if (sourceInfoCase_ == 3) {
@@ -805,39 +730,38 @@ public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata buildPartial
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -845,9 +769,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_;
         onChanged();
@@ -866,15 +788,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();
@@ -902,49 +822,48 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                sourceType_ = input.readEnum();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                input.readMessage(getBackupInfoFieldBuilder().getBuilder(), extensionRegistry);
-                sourceInfoCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 42
-            case 50:
-              {
-                optimizeDatabaseOperationName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              sourceType_ = input.readEnum();
+
+              break;
+            } // case 16
+            case 26: {
+              input.readMessage(
+                  getBackupInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceInfoCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            case 50: {
+              optimizeDatabaseOperationName_ = input.readStringRequireUtf8();
+
+              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) {
@@ -954,12 +873,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() {
@@ -969,22 +888,21 @@ public Builder clearSourceInfo() {
       return this;
     }
 
+
     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; @@ -993,21 +911,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 { @@ -1015,61 +932,54 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1077,67 +987,51 @@ 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. */ public Builder setSourceTypeValue(int value) { - + sourceType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.RestoreSourceType result = - com.google.spanner.admin.database.v1.RestoreSourceType.valueOf(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.valueOf(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. */ @@ -1145,43 +1039,34 @@ public Builder setSourceType(com.google.spanner.admin.database.v1.RestoreSourceT if (value == null) { throw new NullPointerException(); } - + sourceType_ = value.getNumber(); onChanged(); 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() { - + sourceType_ = 0; onChanged(); return this; } 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 @@ -1189,14 +1074,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 @@ -1214,8 +1096,6 @@ public com.google.spanner.admin.database.v1.BackupInfo getBackupInfo() { } } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1236,8 +1116,6 @@ public Builder setBackupInfo(com.google.spanner.admin.database.v1.BackupInfo val return this; } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1256,8 +1134,6 @@ public Builder setBackupInfo( return this; } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1266,14 +1142,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; } @@ -1289,8 +1161,6 @@ public Builder mergeBackupInfo(com.google.spanner.admin.database.v1.BackupInfo v return this; } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1314,8 +1184,6 @@ public Builder clearBackupInfo() { return this; } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1326,8 +1194,6 @@ public com.google.spanner.admin.database.v1.BackupInfo.Builder getBackupInfoBuil return getBackupInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1346,8 +1212,6 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB } } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1355,39 +1219,28 @@ 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()); sourceInfo_ = null; } sourceInfoCase_ = 3; - onChanged(); - ; + onChanged();; return backupInfoBuilder_; } 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]
@@ -1395,15 +1248,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 progressBuilder_ != null || progress_ != null; } /** - * - * *
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1411,21 +1261,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]
@@ -1448,8 +1293,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]
@@ -1470,8 +1313,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1484,9 +1325,7 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr
       if (progressBuilder_ == null) {
         if (progress_ != null) {
           progress_ =
-              com.google.spanner.admin.database.v1.OperationProgress.newBuilder(progress_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.spanner.admin.database.v1.OperationProgress.newBuilder(progress_).mergeFrom(value).buildPartial();
         } else {
           progress_ = value;
         }
@@ -1498,8 +1337,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]
@@ -1520,8 +1357,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1531,13 +1366,11 @@ public Builder clearProgress() {
      * .google.spanner.admin.database.v1.OperationProgress progress = 4;
      */
     public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgressBuilder() {
-
+      
       onChanged();
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1550,14 +1383,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]
@@ -1567,17 +1397,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_;
@@ -1585,13 +1412,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]
@@ -1607,15 +1429,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 cancelTimeBuilder_ != null || cancelTime_ != null; } /** - * - * *
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1631,21 +1450,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]
@@ -1676,8 +1490,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]
@@ -1694,7 +1506,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();
         onChanged();
@@ -1705,8 +1518,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]
@@ -1727,7 +1538,7 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
         if (cancelTime_ != null) {
           cancelTime_ =
-              com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
         } else {
           cancelTime_ = value;
         }
@@ -1739,8 +1550,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]
@@ -1769,8 +1578,6 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1788,13 +1595,11 @@ public Builder clearCancelTime() {
      * .google.protobuf.Timestamp cancel_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
-
+      
       onChanged();
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1815,14 +1620,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]
@@ -1840,17 +1642,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_;
@@ -1858,8 +1657,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
@@ -1875,13 +1672,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; @@ -1890,8 +1687,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
@@ -1907,14 +1702,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 { @@ -1922,8 +1718,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
@@ -1939,22 +1733,20 @@ 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) { + public Builder setOptimizeDatabaseOperationName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + optimizeDatabaseOperationName_ = value; onChanged(); return this; } /** - * - * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1970,18 +1762,15 @@ public Builder setOptimizeDatabaseOperationName(java.lang.String value) {
      * 
* * string optimize_database_operation_name = 6; - * * @return This builder for chaining. */ public Builder clearOptimizeDatabaseOperationName() { - + optimizeDatabaseOperationName_ = getDefaultInstance().getOptimizeDatabaseOperationName(); 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
@@ -1997,23 +1786,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) { + public Builder setOptimizeDatabaseOperationNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + optimizeDatabaseOperationName_ = 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); } @@ -2023,13 +1812,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(); } @@ -2038,27 +1826,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; @@ -2073,4 +1861,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 da40905edfb..aab6f9cfc30 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,29 +73,25 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return BACKUP;
-        case 0:
-          return SOURCE_NOT_SET;
-        default:
-          return null;
+        case 3: return BACKUP;
+        case 0: return SOURCE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceCase getSourceCase() {
-    return SourceCase.forNumber(sourceCase_);
+  public SourceCase
+  getSourceCase() {
+    return SourceCase.forNumber(
+        sourceCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. The name of the instance in which to create the
    * restored database. This instance must be in the same project and
@@ -126,10 +100,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 @@ -138,15 +109,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
@@ -155,18 +125,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,8 +146,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int DATABASE_ID_FIELD_NUMBER = 2; 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
@@ -187,7 +154,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The databaseId. */ @java.lang.Override @@ -196,15 +162,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
@@ -213,15 +178,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 { @@ -231,30 +197,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() { @@ -265,7 +225,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; @@ -274,25 +235,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; } @@ -305,8 +265,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.
@@ -316,10 +274,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 @@ -327,8 +282,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.
@@ -338,22 +291,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.
@@ -363,18 +308,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() { + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { return getEncryptionConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -386,7 +327,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -418,7 +360,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; @@ -428,24 +371,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: @@ -483,104 +429,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].
@@ -588,32 +526,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();
@@ -633,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
@@ -654,8 +593,7 @@ 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);
+      com.google.spanner.admin.database.v1.RestoreDatabaseRequest result = new com.google.spanner.admin.database.v1.RestoreDatabaseRequest(this);
       result.parent_ = parent_;
       result.databaseId_ = databaseId_;
       if (sourceCase_ == 3) {
@@ -675,39 +613,38 @@ public com.google.spanner.admin.database.v1.RestoreDatabaseRequest buildPartial(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -715,8 +652,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_;
         onChanged();
@@ -729,17 +665,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();
@@ -767,39 +701,35 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                databaseId_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              databaseId_ = input.readStringRequireUtf8();
 
-                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);
+              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);
 
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -809,12 +739,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() {
@@ -824,10 +754,9 @@ public Builder clearSource() {
       return this;
     }
 
+
     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
@@ -836,16 +765,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; @@ -854,8 +781,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
@@ -864,17 +789,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 { @@ -882,8 +806,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
@@ -892,25 +814,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the instance in which to create the
      * restored database. This instance must be in the same project and
@@ -919,21 +837,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); 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
@@ -942,19 +855,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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -962,8 +873,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
@@ -972,13 +881,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; @@ -987,8 +896,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
@@ -997,14 +904,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 { @@ -1012,8 +920,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
@@ -1022,22 +928,20 @@ 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) { + public Builder setDatabaseId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + databaseId_ = value; 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
@@ -1046,18 +950,15 @@ public Builder setDatabaseId(java.lang.String value) {
      * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDatabaseId() { - + databaseId_ = getDefaultInstance().getDatabaseId(); 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
@@ -1066,31 +967,28 @@ 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) { + public Builder setDatabaseIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + databaseId_ = 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 Whether the backup field is set. */ @java.lang.Override @@ -1098,15 +996,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 @@ -1116,7 +1011,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; @@ -1127,26 +1023,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; } @@ -1156,37 +1051,32 @@ 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) { + public Builder setBackup( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - sourceCase_ = 3; + throw new NullPointerException(); + } + sourceCase_ = 3; source_ = value; onChanged(); return this; } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearBackup() { @@ -1198,23 +1088,21 @@ 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) { + public Builder setBackupBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); sourceCase_ = 3; source_ = value; onChanged(); @@ -1223,13 +1111,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.
@@ -1239,18 +1122,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 encryptionConfigBuilder_ != null || 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.
@@ -1260,26 +1138,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.
@@ -1289,12 +1158,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(); @@ -1308,8 +1174,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.
@@ -1319,13 +1183,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(); onChanged(); @@ -1336,8 +1197,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.
@@ -1347,19 +1206,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 (encryptionConfig_ != null) { encryptionConfig_ = - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.newBuilder( - encryptionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.newBuilder(encryptionConfig_).mergeFrom(value).buildPartial(); } else { encryptionConfig_ = value; } @@ -1371,8 +1224,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.
@@ -1382,9 +1233,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() { if (encryptionConfigBuilder_ == null) { @@ -1398,8 +1247,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.
@@ -1409,19 +1256,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() { + 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.
@@ -1431,24 +1273,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.
@@ -1458,29 +1293,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); } @@ -1490,12 +1320,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(); } @@ -1504,27 +1334,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; @@ -1539,4 +1369,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 045c1766b9b..ec154d0ef96 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,73 +71,57 @@ public static SourceInfoCase valueOf(int value) { public static SourceInfoCase forNumber(int value) { switch (value) { - case 2: - return BACKUP_INFO; - case 0: - return SOURCEINFO_NOT_SET; - default: - return null; + case 2: return BACKUP_INFO; + case 0: return SOURCEINFO_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SourceInfoCase getSourceInfoCase() { - return SourceInfoCase.forNumber(sourceInfoCase_); + public SourceInfoCase + getSourceInfoCase() { + return SourceInfoCase.forNumber( + sourceInfoCase_); } public static final int SOURCE_TYPE_FIELD_NUMBER = 1; private int sourceType_; /** - * - * *
    * The type of the restore source.
    * 
* * .google.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() { + @java.lang.Override public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.RestoreSourceType result = - com.google.spanner.admin.database.v1.RestoreSourceType.valueOf(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.valueOf(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 @@ -167,27 +129,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.
@@ -198,13 +155,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;
@@ -216,9 +172,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (sourceType_
-        != com.google.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) {
@@ -233,14 +189,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;
@@ -250,19 +205,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:
@@ -293,136 +248,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(); @@ -437,9 +386,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 @@ -458,8 +407,7 @@ 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); + com.google.spanner.admin.database.v1.RestoreInfo result = new com.google.spanner.admin.database.v1.RestoreInfo(this); result.sourceType_ = sourceType_; if (sourceInfoCase_ == 2) { if (backupInfoBuilder_ == null) { @@ -477,39 +425,38 @@ public com.google.spanner.admin.database.v1.RestoreInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -517,21 +464,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(); @@ -559,25 +503,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - sourceType_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - input.readMessage(getBackupInfoFieldBuilder().getBuilder(), extensionRegistry); - sourceInfoCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + sourceType_ = input.readEnum(); + + break; + } // case 8 + case 18: { + input.readMessage( + getBackupInfoFieldBuilder().getBuilder(), + extensionRegistry); + sourceInfoCase_ = 2; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -587,12 +530,12 @@ public Builder mergeFrom( } // finally return this; } - private int sourceInfoCase_ = 0; private java.lang.Object sourceInfo_; - - public SourceInfoCase getSourceInfoCase() { - return SourceInfoCase.forNumber(sourceInfoCase_); + public SourceInfoCase + getSourceInfoCase() { + return SourceInfoCase.forNumber( + sourceInfoCase_); } public Builder clearSourceInfo() { @@ -602,69 +545,54 @@ public Builder clearSourceInfo() { return this; } + 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. */ public Builder setSourceTypeValue(int value) { - + sourceType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.RestoreSourceType result = - com.google.spanner.admin.database.v1.RestoreSourceType.valueOf(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.valueOf(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. */ @@ -672,44 +600,35 @@ public Builder setSourceType(com.google.spanner.admin.database.v1.RestoreSourceT if (value == null) { throw new NullPointerException(); } - + sourceType_ = value.getNumber(); onChanged(); 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() { - + sourceType_ = 0; onChanged(); return this; } 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 @@ -717,15 +636,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 @@ -743,8 +659,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.
@@ -766,8 +680,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.
@@ -787,8 +699,6 @@ public Builder setBackupInfo(
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -798,14 +708,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;
         }
@@ -821,8 +727,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.
@@ -847,8 +751,6 @@ public Builder clearBackupInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -860,8 +762,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.
@@ -881,8 +781,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.
@@ -891,32 +789,26 @@ 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());
         sourceInfo_ = null;
       }
       sourceInfoCase_ = 2;
-      onChanged();
-      ;
+      onChanged();;
       return backupInfoBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -926,12 +818,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();
   }
@@ -940,27 +832,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;
@@ -975,4 +867,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..5909121646b --- /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\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-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 83cc3c15297..9e41bc0985d 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,9 +87,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]; */ @java.lang.Override public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() { @@ -131,8 +97,6 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -141,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 @@ -151,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
@@ -161,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 @@ -171,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
@@ -181,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() { @@ -190,7 +145,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,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()); } @@ -219,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; @@ -232,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; @@ -273,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(); @@ -422,9 +373,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 @@ -443,8 +394,7 @@ 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); + com.google.spanner.admin.database.v1.UpdateBackupRequest result = new com.google.spanner.admin.database.v1.UpdateBackupRequest(this); if (backupBuilder_ == null) { result.backup_ = backup_; } else { @@ -463,39 +413,38 @@ public com.google.spanner.admin.database.v1.UpdateBackupRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -503,8 +452,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()); } @@ -537,25 +485,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getBackupFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -568,13 +517,8 @@ public Builder mergeFrom( 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.
@@ -582,18 +526,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 backupBuilder_ != null || backup_ != null; } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -601,24 +540,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.
@@ -626,9 +558,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) { @@ -644,8 +574,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.
@@ -653,11 +581,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(); onChanged(); @@ -668,8 +595,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.
@@ -677,17 +602,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 (backup_ != null) { backup_ = - com.google.spanner.admin.database.v1.Backup.newBuilder(backup_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.admin.database.v1.Backup.newBuilder(backup_).mergeFrom(value).buildPartial(); } else { backup_ = value; } @@ -699,8 +620,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.
@@ -708,9 +627,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() { if (backupBuilder_ == null) { @@ -724,8 +641,6 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -733,18 +648,14 @@ 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() { - + onChanged(); return getBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -752,22 +663,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.
@@ -775,22 +681,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_; @@ -798,13 +699,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
@@ -813,17 +709,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -832,23 +724,17 @@ public boolean hasUpdateMask() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -857,8 +743,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -874,8 +759,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -884,10 +767,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -898,8 +781,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -908,14 +789,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -927,8 +807,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -937,8 +815,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -952,8 +829,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -962,17 +837,14 @@ public Builder clearUpdateMask() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -981,21 +853,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -1004,28 +872,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1035,12 +899,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(); } @@ -1049,27 +913,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; @@ -1084,4 +948,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 80% 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 32f50cbf09e..1e216b0bdc6 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,41 +29,37 @@ 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;
   private volatile java.lang.Object database_;
   /**
-   *
-   *
    * 
    * The database being modified.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The database. */ @java.lang.Override @@ -90,29 +68,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,45 +101,37 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int STATEMENTS_FIELD_NUMBER = 2; 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. */ @@ -169,27 +139,23 @@ 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; private java.util.List commitTimestamps_; /** - * - * *
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -203,8 +169,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
@@ -214,13 +178,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
@@ -234,8 +196,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
@@ -249,8 +209,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
@@ -260,15 +218,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_;
   /**
-   *
-   *
    * 
    * Output only. When true, indicates that the operation is throttled e.g
    * due to resource constraints. When resources become available the operation
@@ -276,7 +233,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(int i
    * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The throttled. */ @java.lang.Override @@ -287,8 +243,6 @@ public boolean getThrottled() { public static final int PROGRESS_FIELD_NUMBER = 5; private java.util.List progress_; /** - * - * *
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -307,8 +261,6 @@ public java.util.List ge
     return progress_;
   }
   /**
-   *
-   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -323,13 +275,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.
@@ -348,8 +298,6 @@ public int getProgressCount() {
     return progress_.size();
   }
   /**
-   *
-   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -368,8 +316,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.
@@ -390,7 +336,6 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -402,7 +347,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -439,13 +385,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;
@@ -455,19 +404,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;
   }
@@ -490,7 +443,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();
@@ -501,104 +455,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].
@@ -606,32 +552,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();
@@ -659,14 +606,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();
     }
 
@@ -681,8 +627,7 @@ 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);
       int from_bitField0_ = bitField0_;
       result.database_ = database_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -717,39 +662,38 @@ public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata buildParti
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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;
@@ -757,9 +701,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_;
         onChanged();
@@ -792,10 +734,9 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlM
             commitTimestampsBuilder_ = null;
             commitTimestamps_ = other.commitTimestamps_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            commitTimestampsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getCommitTimestampsFieldBuilder()
-                    : null;
+            commitTimestampsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getCommitTimestampsFieldBuilder() : null;
           } else {
             commitTimestampsBuilder_.addAllMessages(other.commitTimestamps_);
           }
@@ -822,10 +763,9 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlM
             progressBuilder_ = null;
             progress_ = other.progress_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            progressBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getProgressFieldBuilder()
-                    : null;
+            progressBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getProgressFieldBuilder() : null;
           } else {
             progressBuilder_.addAllMessages(other.progress_);
           }
@@ -857,58 +797,54 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                database_ = input.readStringRequireUtf8();
+            case 10: {
+              database_ = input.readStringRequireUtf8();
 
-                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();
+              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();
 
-                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:
+              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) {
@@ -918,25 +854,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; @@ -945,21 +878,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 { @@ -967,115 +899,98 @@ 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) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; onChanged(); return this; } /** - * - * *
      * The database being modified.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearDatabase() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); 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) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); 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_ & 0x00000001) != 0)) { statements_ = new com.google.protobuf.LazyStringArrayList(statements_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * 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. */ @@ -1083,95 +998,85 @@ 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) { + public Builder setStatements( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStatementsIsMutable(); + 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) { + public Builder addStatements( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStatementsIsMutable(); + 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() { @@ -1181,23 +1086,21 @@ 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) { + public Builder addStatementsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureStatementsIsMutable(); statements_.add(value); onChanged(); @@ -1205,25 +1108,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_ & 0x00000002) != 0)) { - commitTimestamps_ = - new java.util.ArrayList(commitTimestamps_); + commitTimestamps_ = new java.util.ArrayList(commitTimestamps_); bitField0_ |= 0x00000002; - } + } } 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
@@ -1240,8 +1136,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
@@ -1258,8 +1152,6 @@ public int getCommitTimestampsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1276,8 +1168,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
@@ -1286,7 +1176,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();
@@ -1300,8 +1191,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
@@ -1322,8 +1211,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
@@ -1346,8 +1233,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
@@ -1356,7 +1241,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();
@@ -1370,8 +1256,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
@@ -1380,7 +1264,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());
@@ -1391,8 +1276,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
@@ -1413,8 +1296,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
@@ -1427,7 +1308,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);
@@ -1435,8 +1317,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
@@ -1456,8 +1336,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
@@ -1477,8 +1355,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
@@ -1487,12 +1363,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
@@ -1501,16 +1376,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
@@ -1519,8 +1392,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 {
@@ -1528,8 +1401,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
@@ -1539,12 +1410,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
@@ -1553,13 +1422,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
@@ -1568,21 +1436,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_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -1592,10 +1455,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
@@ -1603,7 +1464,6 @@ public java.util.List getCommitTimestamps
      * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The throttled. */ @java.lang.Override @@ -1611,8 +1471,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
@@ -1620,19 +1478,16 @@ 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; 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
@@ -1640,37 +1495,28 @@ public Builder setThrottled(boolean value) {
      * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearThrottled() { - + throttled_ = false; onChanged(); return this; } private java.util.List progress_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureProgressIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - progress_ = - new java.util.ArrayList( - progress_); + progress_ = new java.util.ArrayList(progress_); bitField0_ |= 0x00000004; - } + } } 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.
@@ -1684,8 +1530,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 {
@@ -1693,8 +1538,6 @@ private void ensureProgressIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1716,8 +1559,6 @@ public int getProgressCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1739,8 +1580,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.
@@ -1769,8 +1608,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1796,8 +1633,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1825,8 +1660,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.
@@ -1855,8 +1688,6 @@ public Builder addProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1882,8 +1713,6 @@ public Builder addProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1909,8 +1738,6 @@ public Builder addProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1925,11 +1752,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);
@@ -1937,8 +1764,6 @@ public Builder addAllProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1963,8 +1788,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1989,8 +1812,6 @@ public Builder removeProgress(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -2009,8 +1830,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.
@@ -2027,14 +1846,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.
@@ -2048,8 +1864,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 {
@@ -2057,8 +1873,6 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -2073,12 +1887,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.
@@ -2094,13 +1906,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.
@@ -2114,30 +1923,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_ & 0x00000004) != 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_ & 0x00000004) != 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);
     }
 
@@ -2147,43 +1953,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;
@@ -2195,8 +1999,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 75%
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 3911178f357..af55b7be639 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,43 +41,37 @@ 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;
   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 @@ -104,31 +80,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,42 +113,34 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int STATEMENTS_FIELD_NUMBER = 2; 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. */ @@ -182,26 +148,22 @@ 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; private volatile java.lang.Object operationId_; /** - * - * *
    * If empty, the new update request is assigned an
    * automatically-generated operation ID. Otherwise, `operation_id`
@@ -223,7 +185,6 @@ public com.google.protobuf.ByteString getStatementsBytes(int index) {
    * 
* * string operation_id = 3; - * * @return The operationId. */ @java.lang.Override @@ -232,15 +193,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`
@@ -262,15 +222,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 { @@ -279,7 +240,6 @@ public com.google.protobuf.ByteString getOperationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,7 +251,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -332,17 +293,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; } @@ -368,104 +331,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
@@ -486,32 +441,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();
@@ -525,14 +481,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();
     }
 
@@ -547,8 +502,7 @@ 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);
       int from_bitField0_ = bitField0_;
       result.database_ = database_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -565,39 +519,38 @@ public com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest buildPartia
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -605,9 +558,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_;
         onChanged();
@@ -652,32 +603,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                database_ = input.readStringRequireUtf8();
+            case 10: {
+              database_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureStatementsIsMutable();
-                statements_.add(s);
-                break;
-              } // case 18
-            case 26:
-              {
-                operationId_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureStatementsIsMutable();
+              statements_.add(s);
+              break;
+            } // case 18
+            case 26: {
+              operationId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -687,27 +634,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; @@ -716,23 +658,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 { @@ -740,118 +679,95 @@ 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) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); 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) = { ... } * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); 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_ & 0x00000001) != 0)) { statements_ = new com.google.protobuf.LazyStringArrayList(statements_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * 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. */ @@ -859,90 +775,80 @@ 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) { + public Builder setStatements( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStatementsIsMutable(); + 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) { + public Builder addStatements( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStatementsIsMutable(); + 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() { @@ -952,22 +858,20 @@ 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) { + public Builder addStatementsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureStatementsIsMutable(); statements_.add(value); onChanged(); @@ -976,8 +880,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`
@@ -999,13 +901,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; @@ -1014,8 +916,6 @@ public java.lang.String getOperationId() { } } /** - * - * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -1037,14 +937,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 { @@ -1052,8 +953,6 @@ public com.google.protobuf.ByteString getOperationIdBytes() { } } /** - * - * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -1075,22 +974,20 @@ 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) { + public Builder setOperationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + operationId_ = value; onChanged(); return this; } /** - * - * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -1112,18 +1009,15 @@ public Builder setOperationId(java.lang.String value) {
      * 
* * string operation_id = 3; - * * @return This builder for chaining. */ public Builder clearOperationId() { - + operationId_ = getDefaultInstance().getOperationId(); onChanged(); return this; } /** - * - * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -1145,23 +1039,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) { + public Builder setOperationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + operationId_ = 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); } @@ -1171,13 +1065,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(); } @@ -1186,27 +1079,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; @@ -1221,4 +1114,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 100% 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 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 100% 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 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 100% 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 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..9413a047dad --- /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,61 @@ +// 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/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 70% 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 7237d96b6fa..a4c7578d945 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.
    * 
@@ -117,8 +89,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC 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]
@@ -126,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 @@ -134,8 +103,6 @@ public boolean hasProgress() { return progress_ != null; } /** - * - * *
    * The progress of the
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -143,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]
@@ -171,14 +133,11 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
   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 @@ -186,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 @@ -201,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.
    * 
@@ -215,7 +169,6 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,7 +180,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (instanceConfig_ != null) { output.writeMessage(1, getInstanceConfig()); } @@ -247,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; @@ -263,25 +220,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; @@ -312,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].
@@ -418,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();
@@ -470,14 +420,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();
     }
 
@@ -492,8 +441,7 @@ 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);
+      com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata result = new com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata(this);
       if (instanceConfigBuilder_ == null) {
         result.instanceConfig_ = instanceConfig_;
       } else {
@@ -517,50 +465,46 @@ public com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata buildPa
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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());
       }
@@ -596,31 +540,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
+            case 10: {
+              input.readMessage(
+                  getInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -633,47 +579,34 @@ public Builder mergeFrom(
 
     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 instanceConfigBuilder_ != null || instanceConfig_ != null; } /** - * - * *
      * 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.
      * 
@@ -694,8 +627,6 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo return this; } /** - * - * *
      * The target instance config end state.
      * 
@@ -714,8 +645,6 @@ public Builder setInstanceConfig( return this; } /** - * - * *
      * The target instance config end state.
      * 
@@ -726,9 +655,7 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance if (instanceConfigBuilder_ == null) { if (instanceConfig_ != null) { instanceConfig_ = - com.google.spanner.admin.instance.v1.InstanceConfig.newBuilder(instanceConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.admin.instance.v1.InstanceConfig.newBuilder(instanceConfig_).mergeFrom(value).buildPartial(); } else { instanceConfig_ = value; } @@ -740,8 +667,6 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance return this; } /** - * - * *
      * The target instance config end state.
      * 
@@ -760,8 +685,6 @@ public Builder clearInstanceConfig() { return this; } /** - * - * *
      * The target instance config end state.
      * 
@@ -769,32 +692,26 @@ public Builder clearInstanceConfig() { * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; */ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceConfigBuilder() { - + onChanged(); 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.
      * 
@@ -802,17 +719,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_; @@ -820,13 +734,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]
@@ -834,15 +743,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 progressBuilder_ != null || progress_ != null; } /** - * - * *
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -850,21 +756,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]
@@ -887,8 +788,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]
@@ -909,8 +808,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -923,9 +820,7 @@ public Builder mergeProgress(com.google.spanner.admin.instance.v1.OperationProgr
       if (progressBuilder_ == null) {
         if (progress_ != null) {
           progress_ =
-              com.google.spanner.admin.instance.v1.OperationProgress.newBuilder(progress_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.spanner.admin.instance.v1.OperationProgress.newBuilder(progress_).mergeFrom(value).buildPartial();
         } else {
           progress_ = value;
         }
@@ -937,8 +832,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]
@@ -959,8 +852,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -970,13 +861,11 @@ public Builder clearProgress() {
      * .google.spanner.admin.instance.v1.OperationProgress progress = 2;
      */
     public com.google.spanner.admin.instance.v1.OperationProgress.Builder getProgressBuilder() {
-
+      
       onChanged();
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -989,14 +878,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]
@@ -1006,17 +892,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_;
@@ -1024,47 +907,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 cancelTimeBuilder_ != null || cancelTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -1085,15 +955,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(); onChanged(); @@ -1104,8 +973,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1116,7 +983,7 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { if (cancelTimeBuilder_ == null) { if (cancelTime_ != null) { cancelTime_ = - com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial(); } else { cancelTime_ = value; } @@ -1128,8 +995,6 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1148,8 +1013,6 @@ public Builder clearCancelTime() { return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1157,13 +1020,11 @@ public Builder clearCancelTime() { * .google.protobuf.Timestamp cancel_time = 3; */ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() { - + onChanged(); return getCancelTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1174,14 +1035,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.
      * 
@@ -1189,24 +1047,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); } @@ -1216,43 +1071,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; @@ -1264,8 +1117,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 68% 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 a673d7587a1..168fc555707 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,44 +27,38 @@ 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;
   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 @@ -91,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 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,8 +101,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int INSTANCE_CONFIG_ID_FIELD_NUMBER = 2; 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
@@ -137,7 +109,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceConfigId. */ @java.lang.Override @@ -146,15 +117,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
@@ -163,15 +133,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 { @@ -182,8 +153,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
@@ -192,10 +161,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 @@ -203,8 +169,6 @@ public boolean hasInstanceConfig() { return instanceConfig_ != null; } /** - * - * *
    * Required. The InstanceConfig proto of the configuration to create.
    * instance_config.name must be
@@ -213,21 +177,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
@@ -236,9 +193,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]; */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { @@ -248,15 +203,12 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; 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 @@ -265,7 +217,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,7 +228,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -306,10 +258,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; @@ -319,21 +273,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; } @@ -354,111 +311,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].
@@ -466,32 +416,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();
@@ -511,14 +462,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();
     }
 
@@ -533,8 +483,7 @@ 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);
+      com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest result = new com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest(this);
       result.parent_ = parent_;
       result.instanceConfigId_ = instanceConfigId_;
       if (instanceConfigBuilder_ == null) {
@@ -551,50 +500,46 @@ public com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest buildPar
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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_;
         onChanged();
@@ -635,37 +580,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                instanceConfigId_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              instanceConfigId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            case 32:
-              {
-                validateOnly_ = input.readBool();
+              break;
+            } // case 26
+            case 32: {
+              validateOnly_ = input.readBool();
 
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 32
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -678,23 +620,19 @@ public Builder mergeFrom(
 
     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; @@ -703,24 +641,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 { @@ -728,70 +663,57 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -799,8 +721,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
@@ -809,13 +729,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; @@ -824,8 +744,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
@@ -834,14 +752,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 { @@ -849,8 +768,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
@@ -859,22 +776,20 @@ 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) { + public Builder setInstanceConfigId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceConfigId_ = value; 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
@@ -883,18 +798,15 @@ 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() { - + instanceConfigId_ = getDefaultInstance().getInstanceConfigId(); 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,16 +815,16 @@ 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) { + public Builder setInstanceConfigIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceConfigId_ = value; onChanged(); return this; @@ -920,13 +832,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
@@ -935,18 +842,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 instanceConfigBuilder_ != null || instanceConfig_ != null; } /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -955,24 +857,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
@@ -981,9 +876,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) { @@ -999,8 +892,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
@@ -1009,9 +900,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) { @@ -1025,8 +914,6 @@ public Builder setInstanceConfig( return this; } /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -1035,17 +922,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 (instanceConfig_ != null) { instanceConfig_ = - com.google.spanner.admin.instance.v1.InstanceConfig.newBuilder(instanceConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.admin.instance.v1.InstanceConfig.newBuilder(instanceConfig_).mergeFrom(value).buildPartial(); } else { instanceConfig_ = value; } @@ -1057,8 +940,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
@@ -1067,9 +948,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() { if (instanceConfigBuilder_ == null) { @@ -1083,8 +962,6 @@ public Builder clearInstanceConfig() { return this; } /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -1093,18 +970,14 @@ 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() { - + onChanged(); return getInstanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -1113,23 +986,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
@@ -1138,38 +1005,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 @@ -1177,45 +1036,39 @@ 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; 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() { - + validateOnly_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1225,43 +1078,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; @@ -1273,8 +1124,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 74% 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 f205b508734..42a7e2f802f 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.
    * 
@@ -117,8 +89,6 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild 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]
@@ -126,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 @@ -134,8 +103,6 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time at which the
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -143,7 +110,6 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -151,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]
@@ -169,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
@@ -178,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 @@ -186,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
@@ -195,7 +154,6 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ @java.lang.Override @@ -203,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
@@ -221,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 @@ -236,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 @@ -251,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.
    * 
@@ -265,7 +213,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,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()); } @@ -300,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; @@ -319,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; @@ -376,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].
@@ -481,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();
@@ -538,9 +486,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
@@ -559,8 +507,7 @@ 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);
+      com.google.spanner.admin.instance.v1.CreateInstanceMetadata result = new com.google.spanner.admin.instance.v1.CreateInstanceMetadata(this);
       if (instanceBuilder_ == null) {
         result.instance_ = instance_;
       } else {
@@ -589,39 +536,38 @@ public com.google.spanner.admin.instance.v1.CreateInstanceMetadata buildPartial(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -629,8 +575,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());
       }
@@ -669,37 +614,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getInstanceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -712,47 +660,34 @@ public Builder mergeFrom(
 
     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 instanceBuilder_ != null || instance_ != null; } /** - * - * *
      * 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 +708,6 @@ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) return this; } /** - * - * *
      * The instance being created.
      * 
@@ -793,8 +726,6 @@ public Builder setInstance( return this; } /** - * - * *
      * The instance being created.
      * 
@@ -805,9 +736,7 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value if (instanceBuilder_ == null) { if (instance_ != null) { instance_ = - com.google.spanner.admin.instance.v1.Instance.newBuilder(instance_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.admin.instance.v1.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); } else { instance_ = value; } @@ -819,8 +748,6 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value return this; } /** - * - * *
      * The instance being created.
      * 
@@ -839,8 +766,6 @@ public Builder clearInstance() { return this; } /** - * - * *
      * The instance being created.
      * 
@@ -848,13 +773,11 @@ public Builder clearInstance() { * .google.spanner.admin.instance.v1.Instance instance = 1; */ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder() { - + onChanged(); return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * The instance being created.
      * 
@@ -865,14 +788,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.
      * 
@@ -880,17 +800,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_; @@ -898,13 +815,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]
@@ -912,15 +824,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 startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -928,7 +837,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -939,8 +847,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -963,8 +869,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -973,7 +877,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 2;
      */
-    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
         onChanged();
@@ -984,8 +889,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]
@@ -998,7 +901,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
         if (startTime_ != null) {
           startTime_ =
-              com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial();
         } else {
           startTime_ = value;
         }
@@ -1010,8 +913,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -1032,8 +933,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -1043,13 +942,11 @@ public Builder clearStartTime() {
      * .google.protobuf.Timestamp start_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
-
+      
       onChanged();
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -1062,12 +959,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]
@@ -1077,17 +973,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_;
@@ -1095,13 +988,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
@@ -1109,15 +997,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return cancelTimeBuilder_ != null || 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
@@ -1125,21 +1010,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
@@ -1162,8 +1042,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
@@ -1172,7 +1050,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();
         onChanged();
@@ -1183,8 +1062,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
@@ -1197,7 +1074,7 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
         if (cancelTime_ != null) {
           cancelTime_ =
-              com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
         } else {
           cancelTime_ = value;
         }
@@ -1209,8 +1086,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
@@ -1231,8 +1106,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
@@ -1242,13 +1115,11 @@ public Builder clearCancelTime() {
      * .google.protobuf.Timestamp cancel_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
-
+      
       onChanged();
       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
@@ -1261,14 +1132,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
@@ -1278,17 +1146,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_;
@@ -1296,33 +1161,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 endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * 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() { @@ -1333,8 +1189,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1355,15 +1209,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(); onChanged(); @@ -1374,8 +1227,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1386,7 +1237,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1398,8 +1249,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1418,8 +1267,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1427,13 +1274,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 4; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1444,12 +1289,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.
      * 
@@ -1457,24 +1301,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); } @@ -1484,12 +1325,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(); } @@ -1498,27 +1339,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; @@ -1533,4 +1374,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 66% 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 691e80d5b6c..1f88694e2d0 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,44 +27,38 @@ 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;
   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 @@ -91,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 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,8 +101,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int INSTANCE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object instanceId_; /** - * - * *
    * Required. The ID 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
@@ -136,7 +108,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ @java.lang.Override @@ -145,15 +116,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
@@ -161,15 +131,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 { @@ -180,17 +151,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 @@ -198,36 +164,25 @@ 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() { @@ -235,7 +190,6 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +201,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -273,7 +228,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; @@ -283,19 +239,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; @@ -322,104 +280,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].
@@ -427,32 +377,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();
@@ -470,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
@@ -491,8 +442,7 @@ 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);
+      com.google.spanner.admin.instance.v1.CreateInstanceRequest result = new com.google.spanner.admin.instance.v1.CreateInstanceRequest(this);
       result.parent_ = parent_;
       result.instanceId_ = instanceId_;
       if (instanceBuilder_ == null) {
@@ -508,39 +458,38 @@ public com.google.spanner.admin.instance.v1.CreateInstanceRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -548,8 +497,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_;
         onChanged();
@@ -587,31 +535,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                instanceId_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              instanceId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getInstanceFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -624,23 +570,19 @@ public Builder mergeFrom(
 
     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; @@ -649,24 +591,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 { @@ -674,70 +613,57 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -745,8 +671,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
@@ -754,13 +678,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; @@ -769,8 +693,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
@@ -778,14 +700,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 { @@ -793,8 +716,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
@@ -802,22 +723,20 @@ public com.google.protobuf.ByteString getInstanceIdBytes() {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { + public Builder setInstanceId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ID 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
@@ -825,18 +744,15 @@ public Builder setInstanceId(java.lang.String value) {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInstanceId() { - + instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** - * - * *
      * Required. The ID 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
@@ -844,16 +760,16 @@ public Builder clearInstanceId() {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceId_ = value; onChanged(); return this; @@ -861,61 +777,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 instanceBuilder_ != null || 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. */ 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) { @@ -931,16 +828,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) { @@ -954,24 +847,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 (instance_ != null) { instance_ = - com.google.spanner.admin.instance.v1.Instance.newBuilder(instance_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.admin.instance.v1.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); } else { instance_ = value; } @@ -983,16 +870,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() { if (instanceBuilder_ == null) { @@ -1006,74 +889,58 @@ 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() { - + onChanged(); 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); } @@ -1083,12 +950,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(); } @@ -1097,27 +964,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; @@ -1132,4 +999,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 1c5ba8ac321..93d6665d277 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,45 +27,39 @@ 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;
   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 @@ -92,33 +68,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The 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,8 +103,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ETAG_FIELD_NUMBER = 2; 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
@@ -142,7 +114,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string etag = 2; - * * @return The etag. */ @java.lang.Override @@ -151,15 +122,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
@@ -171,15 +141,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 { @@ -190,15 +161,12 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; 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 @@ -207,7 +175,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,7 +186,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -245,7 +213,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; @@ -255,17 +224,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; } @@ -282,111 +253,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].
@@ -394,32 +358,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();
@@ -433,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();
     }
 
@@ -455,8 +419,7 @@ 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);
+      com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest result = new com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest(this);
       result.name_ = name_;
       result.etag_ = etag_;
       result.validateOnly_ = validateOnly_;
@@ -468,50 +431,46 @@ public com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest buildPar
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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_;
         onChanged();
@@ -549,31 +508,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                etag_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                validateOnly_ = input.readBool();
-
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              etag_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              validateOnly_ = input.readBool();
+
+              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) {
@@ -586,24 +541,20 @@ public Builder mergeFrom(
 
     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; @@ -612,25 +563,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 { @@ -638,73 +586,60 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -712,8 +647,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
@@ -725,13 +658,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; @@ -740,8 +673,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
@@ -753,14 +684,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 { @@ -768,8 +700,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
@@ -781,22 +711,20 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 2; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * Used for optimistic concurrency control as a way to help prevent
      * simultaneous deletes of an instance config from overwriting each
@@ -808,18 +736,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 2; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * Used for optimistic concurrency control as a way to help prevent
      * simultaneous deletes of an instance config from overwriting each
@@ -831,32 +756,29 @@ public Builder clearEtag() {
      * 
* * string etag = 2; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; } - 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 @@ -864,45 +786,39 @@ 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; 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() { - + validateOnly_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -912,43 +828,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; @@ -960,8 +874,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 63% 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 90b03f8f902..b419a6c7d11 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,60 +11,53 @@
  *
  * 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;
   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 @@ -90,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 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 { @@ -124,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -160,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.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; } @@ -188,104 +162,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].
@@ -293,32 +259,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();
@@ -328,9 +295,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
@@ -349,8 +316,7 @@ 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);
+      com.google.spanner.admin.instance.v1.DeleteInstanceRequest result = new com.google.spanner.admin.instance.v1.DeleteInstanceRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -360,39 +326,38 @@ public com.google.spanner.admin.instance.v1.DeleteInstanceRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -400,8 +365,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_;
         onChanged();
@@ -432,19 +396,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -457,23 +419,19 @@ public Builder mergeFrom(
 
     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; @@ -482,24 +440,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 { @@ -507,77 +462,64 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -587,12 +529,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(); } @@ -601,27 +543,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; @@ -636,4 +578,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 63% 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 cb731e95a4c..218e309ea9f 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,60 +11,53 @@
  *
  * 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;
   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 @@ -90,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 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 { @@ -124,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -160,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.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; } @@ -188,104 +162,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].
@@ -293,32 +259,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();
@@ -328,14 +295,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();
     }
 
@@ -350,8 +316,7 @@ 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);
+      com.google.spanner.admin.instance.v1.GetInstanceConfigRequest result = new com.google.spanner.admin.instance.v1.GetInstanceConfigRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -361,39 +326,38 @@ public com.google.spanner.admin.instance.v1.GetInstanceConfigRequest buildPartia
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -401,9 +365,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_;
         onChanged();
@@ -434,19 +396,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -459,23 +419,19 @@ public Builder mergeFrom(
 
     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; @@ -484,24 +440,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 { @@ -509,77 +462,64 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -589,13 +529,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(); } @@ -604,27 +543,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; @@ -639,4 +578,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 91e3ba13be4..4ee004fcd24 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,60 +11,53 @@
  *
  * 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;
   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 @@ -90,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 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 { @@ -126,8 +100,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
@@ -136,7 +108,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.protobuf.FieldMask field_mask = 2; - * * @return Whether the fieldMask field is set. */ @java.lang.Override @@ -144,8 +115,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
@@ -154,7 +123,6 @@ public boolean hasFieldMask() {
    * 
* * .google.protobuf.FieldMask field_mask = 2; - * * @return The fieldMask. */ @java.lang.Override @@ -162,8 +130,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
@@ -179,7 +145,6 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -191,7 +156,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -211,7 +177,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;
@@ -221,18 +188,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;
@@ -257,104 +225,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].
@@ -362,32 +322,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();
@@ -403,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
@@ -424,8 +385,7 @@ 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);
+      com.google.spanner.admin.instance.v1.GetInstanceRequest result = new com.google.spanner.admin.instance.v1.GetInstanceRequest(this);
       result.name_ = name_;
       if (fieldMaskBuilder_ == null) {
         result.fieldMask_ = fieldMask_;
@@ -440,39 +400,38 @@ public com.google.spanner.admin.instance.v1.GetInstanceRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -480,8 +439,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_;
         onChanged();
@@ -515,25 +473,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getFieldMaskFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getFieldMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -546,23 +503,19 @@ public Builder mergeFrom(
 
     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; @@ -571,24 +524,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 { @@ -596,70 +546,57 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -667,13 +604,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
@@ -682,15 +614,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 fieldMaskBuilder_ != null || fieldMask_ != null; } /** - * - * *
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -699,7 +628,6 @@ public boolean hasFieldMask() {
      * 
* * .google.protobuf.FieldMask field_mask = 2; - * * @return The fieldMask. */ public com.google.protobuf.FieldMask getFieldMask() { @@ -710,8 +638,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
@@ -735,8 +661,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
@@ -746,7 +670,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();
         onChanged();
@@ -757,8 +682,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
@@ -772,7 +695,7 @@ public Builder mergeFieldMask(com.google.protobuf.FieldMask value) {
       if (fieldMaskBuilder_ == null) {
         if (fieldMask_ != null) {
           fieldMask_ =
-              com.google.protobuf.FieldMask.newBuilder(fieldMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(fieldMask_).mergeFrom(value).buildPartial();
         } else {
           fieldMask_ = value;
         }
@@ -784,8 +707,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
@@ -807,8 +728,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
@@ -819,13 +738,11 @@ public Builder clearFieldMask() {
      * .google.protobuf.FieldMask field_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder() {
-
+      
       onChanged();
       return getFieldMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -839,12 +756,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
@@ -855,24 +771,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);
     }
 
@@ -882,12 +795,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();
   }
@@ -896,27 +809,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;
@@ -931,4 +844,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 152630f0642..3a11df10375 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;
@@ -248,8 +218,6 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   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
@@ -258,7 +226,6 @@ private State(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -267,15 +234,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
@@ -284,15 +250,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,8 +270,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CONFIG_FIELD_NUMBER = 2; private volatile java.lang.Object config_; /** - * - * *
    * Required. The name of the instance's configuration. Values are of the form
    * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -312,10 +277,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 @@ -324,15 +286,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
@@ -340,18 +301,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 { @@ -362,15 +322,12 @@ public com.google.protobuf.ByteString getConfigBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; 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 @@ -379,30 +336,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 { @@ -413,8 +370,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int NODE_COUNT_FIELD_NUMBER = 5; 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
@@ -426,7 +381,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * int32 node_count = 5; - * * @return The nodeCount. */ @java.lang.Override @@ -437,8 +391,6 @@ public int getNodeCount() { public static final int PROCESSING_UNITS_FIELD_NUMBER = 9; 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
@@ -449,7 +401,6 @@ public int getNodeCount() {
    * 
* * int32 processing_units = 9; - * * @return The processingUnits. */ @java.lang.Override @@ -460,8 +411,6 @@ public int getProcessingUnits() { public static final int STATE_FIELD_NUMBER = 6; private int state_; /** - * - * *
    * Output only. The current instance state. For
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -470,19 +419,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],
@@ -491,40 +434,34 @@ 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() { + @java.lang.Override public com.google.spanner.admin.instance.v1.Instance.State getState() { @SuppressWarnings("deprecation") - com.google.spanner.admin.instance.v1.Instance.State result = - com.google.spanner.admin.instance.v1.Instance.State.valueOf(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.valueOf(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, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + 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, + ""); + } + 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_; } @@ -533,8 +470,6 @@ 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
@@ -558,22 +493,22 @@ 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
@@ -598,12 +533,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 7;
    */
   @java.lang.Override
+
   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
@@ -628,16 +562,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -662,11 +596,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * 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();
     }
@@ -676,42 +611,34 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int ENDPOINT_URIS_FIELD_NUMBER = 8;
   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. */ @@ -719,33 +646,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 @@ -753,15 +674,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 @@ -769,14 +686,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() { @@ -786,15 +700,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 @@ -802,15 +712,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 @@ -818,14 +724,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() { @@ -833,7 +736,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -845,7 +747,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -858,12 +761,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)); } @@ -895,21 +801,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; @@ -920,13 +827,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; @@ -936,29 +846,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; @@ -1004,156 +922,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(); @@ -1188,9 +1102,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 @@ -1209,8 +1123,7 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; result.config_ = config_; @@ -1243,39 +1156,38 @@ public com.google.spanner.admin.instance.v1.Instance buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -1305,7 +1217,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()); if (!other.endpointUris_.isEmpty()) { if (endpointUris_.isEmpty()) { endpointUris_ = other.endpointUris_; @@ -1348,79 +1261,70 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - config_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - displayName_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 40: - { - nodeCount_ = input.readInt32(); - - break; - } // case 40 - case 48: - { - state_ = input.readEnum(); - - break; - } // case 48 - case 58: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - break; - } // case 58 - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureEndpointUrisIsMutable(); - endpointUris_.add(s); - break; - } // case 66 - case 72: - { - processingUnits_ = input.readInt32(); - - break; - } // case 72 - case 90: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 90 - case 98: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 98 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + config_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + displayName_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 40: { + nodeCount_ = input.readInt32(); + + break; + } // case 40 + case 48: { + state_ = input.readEnum(); + + break; + } // case 48 + case 58: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } // case 58 + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + ensureEndpointUrisIsMutable(); + endpointUris_.add(s); + break; + } // case 66 + case 72: { + processingUnits_ = input.readInt32(); + + break; + } // case 72 + case 90: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 90 + case 98: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -1430,13 +1334,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
@@ -1445,13 +1346,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; @@ -1460,8 +1361,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
@@ -1470,14 +1369,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 { @@ -1485,8 +1385,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
@@ -1495,22 +1393,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. A unique identifier for the instance, which cannot be changed
      * after the instance is created. Values are of the form
@@ -1519,18 +1415,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. A unique identifier for the instance, which cannot be changed
      * after the instance is created. Values are of the form
@@ -1539,16 +1432,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1556,8 +1449,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
@@ -1565,16 +1456,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; @@ -1583,8 +1472,6 @@ public java.lang.String getConfig() { } } /** - * - * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1592,17 +1479,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 { @@ -1610,8 +1496,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
@@ -1619,25 +1503,21 @@ 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) { + public Builder setConfig( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + config_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1645,21 +1525,16 @@ 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() { - + config_ = getDefaultInstance().getConfig(); onChanged(); return this; } /** - * - * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1667,19 +1542,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) { + public Builder setConfigBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + config_ = value; onChanged(); return this; @@ -1687,21 +1560,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; @@ -1710,22 +1581,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 { @@ -1733,73 +1603,64 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * 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() { - + displayName_ = getDefaultInstance().getDisplayName(); 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]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } - 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
@@ -1811,7 +1672,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 node_count = 5; - * * @return The nodeCount. */ @java.lang.Override @@ -1819,8 +1679,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
@@ -1832,19 +1690,16 @@ 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; 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
@@ -1856,20 +1711,17 @@ public Builder setNodeCount(int value) {
      * 
* * int32 node_count = 5; - * * @return This builder for chaining. */ public Builder clearNodeCount() { - + nodeCount_ = 0; onChanged(); 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
@@ -1880,7 +1732,6 @@ public Builder clearNodeCount() {
      * 
* * int32 processing_units = 9; - * * @return The processingUnits. */ @java.lang.Override @@ -1888,8 +1739,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
@@ -1900,19 +1749,16 @@ 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; 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
@@ -1923,11 +1769,10 @@ public Builder setProcessingUnits(int value) {
      * 
* * int32 processing_units = 9; - * * @return This builder for chaining. */ public Builder clearProcessingUnits() { - + processingUnits_ = 0; onChanged(); return this; @@ -1935,8 +1780,6 @@ public Builder clearProcessingUnits() { private int state_ = 0; /** - * - * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -1945,19 +1788,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],
@@ -1966,22 +1803,17 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -1990,24 +1822,16 @@ 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.instance.v1.Instance.State result = - com.google.spanner.admin.instance.v1.Instance.State.valueOf(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.valueOf(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],
@@ -2016,10 +1840,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. */ @@ -2027,14 +1848,12 @@ public Builder setState(com.google.spanner.admin.instance.v1.Instance.State valu if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -2043,34 +1862,32 @@ 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() { - + state_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2082,8 +1899,6 @@ 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
@@ -2107,22 +1922,22 @@ 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
@@ -2147,12 +1962,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 7;
      */
     @java.lang.Override
+
     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
@@ -2177,17 +1991,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 7;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2212,11 +2025,12 @@ public 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();
       }
@@ -2224,12 +2038,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      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
@@ -2253,21 +2066,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() {
       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
@@ -2291,20 +2106,19 @@ 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");
-      }
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2328,57 +2142,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);
       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_ & 0x00000002) != 0)) {
         endpointUris_ = new com.google.protobuf.LazyStringArrayList(endpointUris_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * 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. */ @@ -2386,90 +2193,80 @@ 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) { + public Builder setEndpointUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEndpointUrisIsMutable(); + 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) { + public Builder addEndpointUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEndpointUrisIsMutable(); + 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() { @@ -2479,22 +2276,20 @@ 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) { + public Builder addEndpointUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureEndpointUrisIsMutable(); endpointUris_.add(value); onChanged(); @@ -2503,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 createTimeBuilder_ != null || 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. */ 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) { @@ -2570,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(); onChanged(); @@ -2591,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2617,15 +2386,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() { if (createTimeBuilder_ == null) { @@ -2639,64 +2404,48 @@ 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() { - + onChanged(); 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_; @@ -2704,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -2771,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(); onChanged(); @@ -2792,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2818,15 +2541,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() { if (updateTimeBuilder_ == null) { @@ -2840,71 +2559,55 @@ 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() { - + onChanged(); 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); } @@ -2914,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(); } @@ -2928,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; @@ -2963,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 a81cbd129a4..0a33e48b2c7 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;
@@ -410,8 +364,6 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * A unique identifier for the instance configuration.  Values
    * are of the form
@@ -419,7 +371,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -428,15 +379,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
@@ -444,15 +394,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,14 +414,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; 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 @@ -479,29 +427,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 { @@ -512,52 +460,35 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CONFIG_TYPE_FIELD_NUMBER = 5; private int 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 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() { + @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig.Type getConfigType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.instance.v1.InstanceConfig.Type result = - com.google.spanner.admin.instance.v1.InstanceConfig.Type.valueOf(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.valueOf(configType_); + return result == null ? com.google.spanner.admin.instance.v1.InstanceConfig.Type.UNRECOGNIZED : result; } public static final int REPLICAS_FIELD_NUMBER = 3; private java.util.List replicas_; /** - * - * *
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -570,8 +501,6 @@ public java.util.List getRepli
     return replicas_;
   }
   /**
-   *
-   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -580,13 +509,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.
@@ -599,8 +526,6 @@ public int getReplicasCount() {
     return replicas_.size();
   }
   /**
-   *
-   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -613,8 +538,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.
@@ -623,89 +546,69 @@ 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;
   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( @@ -716,8 +619,6 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalRepl public static final int BASE_CONFIG_FIELD_NUMBER = 7; 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
@@ -726,7 +627,6 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalRepl
    * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } - * * @return The baseConfig. */ @java.lang.Override @@ -735,15 +635,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
@@ -752,15 +651,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 { @@ -769,23 +669,24 @@ 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, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + 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, + ""); + } + 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_; } @@ -794,8 +695,6 @@ 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
@@ -819,22 +718,22 @@ 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
@@ -859,12 +758,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 8;
    */
   @java.lang.Override
+
   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
@@ -889,16 +787,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 8;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -923,11 +821,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * 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();
     }
@@ -937,8 +836,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int ETAG_FIELD_NUMBER = 9;
   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
@@ -953,7 +850,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
    * 
* * string etag = 9; - * * @return The etag. */ @java.lang.Override @@ -962,15 +858,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
@@ -985,15 +880,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 { @@ -1004,45 +900,37 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int LEADER_OPTIONS_FIELD_NUMBER = 4; 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. */ @@ -1050,34 +938,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_; /** - * - * *
    * 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 @@ -1088,47 +971,31 @@ public boolean getReconciling() { public static final int STATE_FIELD_NUMBER = 11; private int 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 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() { + @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig.State getState() { @SuppressWarnings("deprecation") - com.google.spanner.admin.instance.v1.InstanceConfig.State result = - com.google.spanner.admin.instance.v1.InstanceConfig.State.valueOf(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.valueOf(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; @@ -1140,7 +1007,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1153,8 +1021,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++) { @@ -1163,17 +1030,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); @@ -1192,7 +1061,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; @@ -1202,36 +1072,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; @@ -1241,24 +1112,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; @@ -1298,7 +1177,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(); @@ -1307,103 +1187,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.
@@ -1411,52 +1284,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();
@@ -1495,9 +1371,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
@@ -1516,8 +1392,7 @@ 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);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -1559,39 +1434,38 @@ public com.google.spanner.admin.instance.v1.InstanceConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -1599,8 +1473,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_;
         onChanged();
@@ -1630,10 +1503,9 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.InstanceConfig oth
             replicasBuilder_ = null;
             replicas_ = other.replicas_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            replicasBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getReplicasFieldBuilder()
-                    : null;
+            replicasBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getReplicasFieldBuilder() : null;
           } else {
             replicasBuilder_.addAllMessages(other.replicas_);
           }
@@ -1657,10 +1529,9 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.InstanceConfig oth
             optionalReplicasBuilder_ = null;
             optionalReplicas_ = other.optionalReplicas_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            optionalReplicasBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOptionalReplicasFieldBuilder()
-                    : null;
+            optionalReplicasBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOptionalReplicasFieldBuilder() : null;
           } else {
             optionalReplicasBuilder_.addAllMessages(other.optionalReplicas_);
           }
@@ -1670,7 +1541,8 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.InstanceConfig oth
         baseConfig_ = other.baseConfig_;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (!other.getEtag().isEmpty()) {
         etag_ = other.etag_;
         onChanged();
@@ -1717,101 +1589,87 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 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();
-
-                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();
-
-                break;
-              } // case 58
-            case 66:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                break;
-              } // case 66
-            case 74:
-              {
-                etag_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 74
-            case 80:
-              {
-                reconciling_ = input.readBool();
-
-                break;
-              } // case 80
-            case 88:
-              {
-                state_ = input.readEnum();
-
-                break;
-              } // case 88
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 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();
+
+              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();
+
+              break;
+            } // case 58
+            case 66: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              break;
+            } // case 66
+            case 74: {
+              etag_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 74
+            case 80: {
+              reconciling_ = input.readBool();
+
+              break;
+            } // case 80
+            case 88: {
+              state_ = input.readEnum();
+
+              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) {
@@ -1821,13 +1679,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
@@ -1835,13 +1690,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; @@ -1850,8 +1705,6 @@ public java.lang.String getName() { } } /** - * - * *
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1859,14 +1712,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 { @@ -1874,8 +1728,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1883,22 +1735,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1906,18 +1756,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1925,16 +1772,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1942,20 +1789,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; @@ -1964,21 +1809,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 { @@ -1986,61 +1830,54 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2048,79 +1885,55 @@ 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. */ public Builder setConfigTypeValue(int value) { - + configType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.instance.v1.InstanceConfig.Type result = - com.google.spanner.admin.instance.v1.InstanceConfig.Type.valueOf(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.valueOf(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. */ @@ -2128,52 +1941,40 @@ public Builder setConfigType(com.google.spanner.admin.instance.v1.InstanceConfig if (value == null) { throw new NullPointerException(); } - + configType_ = value.getNumber(); onChanged(); 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() { - + configType_ = 0; onChanged(); return this; } private java.util.List replicas_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureReplicasIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - replicas_ = - new java.util.ArrayList(replicas_); + replicas_ = new java.util.ArrayList(replicas_); bitField0_ |= 0x00000001; - } + } } 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.
@@ -2189,8 +1990,6 @@ public java.util.List getRepli
       }
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2206,8 +2005,6 @@ public int getReplicasCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2223,8 +2020,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.
@@ -2232,7 +2027,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();
@@ -2246,8 +2042,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.
@@ -2267,8 +2061,6 @@ public Builder setReplicas(
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2290,8 +2082,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.
@@ -2299,7 +2089,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();
@@ -2313,8 +2104,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.
@@ -2334,8 +2123,6 @@ public Builder addReplicas(
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2355,8 +2142,6 @@ public Builder addReplicas(
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2368,7 +2153,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);
@@ -2376,8 +2162,6 @@ public Builder addAllReplicas(
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2396,8 +2180,6 @@ public Builder clearReplicas() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2416,8 +2198,6 @@ public Builder removeReplicas(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2425,12 +2205,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.
@@ -2441,14 +2220,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.
@@ -2456,8 +2232,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 {
@@ -2465,8 +2241,6 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBu
       }
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2475,12 +2249,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.
@@ -2488,13 +2260,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.
@@ -2502,60 +2273,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_ & 0x00000001) != 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_ & 0x00000001) != 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_ & 0x00000002) != 0)) {
-        optionalReplicas_ =
-            new java.util.ArrayList(
-                optionalReplicas_);
+        optionalReplicas_ = new java.util.ArrayList(optionalReplicas_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     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 { @@ -2563,16 +2320,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) { @@ -2582,16 +2335,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) { @@ -2601,16 +2350,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) { @@ -2627,16 +2372,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) { @@ -2650,16 +2391,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) { @@ -2675,16 +2412,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) { @@ -2701,16 +2434,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) { @@ -2724,16 +2453,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) { @@ -2747,22 +2472,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); @@ -2770,16 +2492,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) { @@ -2792,16 +2510,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) { @@ -2814,55 +2528,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 { @@ -2870,66 +2571,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_ & 0x00000002) != 0), getParentForChildren(), @@ -2941,8 +2624,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
@@ -2951,13 +2632,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; @@ -2966,8 +2647,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
@@ -2976,14 +2655,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 { @@ -2991,8 +2671,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
@@ -3001,22 +2679,20 @@ 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) { + public Builder setBaseConfig( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + baseConfig_ = value; 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
@@ -3025,18 +2701,15 @@ public Builder setBaseConfig(java.lang.String value) {
      * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearBaseConfig() { - + baseConfig_ = getDefaultInstance().getBaseConfig(); 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
@@ -3045,36 +2718,37 @@ 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) { + public Builder setBaseConfigBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + baseConfig_ = value; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3086,8 +2760,6 @@ 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
@@ -3111,22 +2783,22 @@ 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
@@ -3151,12 +2823,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 8;
      */
     @java.lang.Override
+
     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
@@ -3181,17 +2852,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 8;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -3216,11 +2886,12 @@ public 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();
       }
@@ -3228,12 +2899,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      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
@@ -3257,21 +2927,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() {
       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
@@ -3295,20 +2967,19 @@ 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");
-      }
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -3332,15 +3003,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);
       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
@@ -3355,13 +3027,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; @@ -3370,8 +3042,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
@@ -3386,14 +3056,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 { @@ -3401,8 +3072,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
@@ -3417,22 +3086,20 @@ 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) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * etag is used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance config from overwriting
@@ -3447,18 +3114,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 9; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * etag is used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance config from overwriting
@@ -3473,70 +3137,60 @@ 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) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; } - 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_ & 0x00000008) != 0)) { leaderOptions_ = new com.google.protobuf.LazyStringArrayList(leaderOptions_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
      * 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. */ @@ -3544,95 +3198,85 @@ 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) { + public Builder setLeaderOptions( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLeaderOptionsIsMutable(); + 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) { + public Builder addLeaderOptions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLeaderOptionsIsMutable(); + 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() { @@ -3642,40 +3286,35 @@ 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) { + public Builder addLeaderOptionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLeaderOptionsIsMutable(); leaderOptions_.add(value); onChanged(); 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 @@ -3683,38 +3322,32 @@ 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; 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() { - + reconciling_ = false; onChanged(); return this; @@ -3722,75 +3355,51 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.instance.v1.InstanceConfig.State result = - com.google.spanner.admin.instance.v1.InstanceConfig.State.valueOf(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.valueOf(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. */ @@ -3798,33 +3407,28 @@ public Builder setState(com.google.spanner.admin.instance.v1.InstanceConfig.Stat if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3834,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(); } @@ -3848,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; @@ -3883,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 9a73ae0770f..a1a85399ea0 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
@@ -375,13 +305,11 @@ public interface InstanceConfigOrBuilder
    */
 
   /* 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
@@ -405,11 +333,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
@@ -424,13 +352,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
@@ -445,105 +370,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 a16ebeccae5..27be0e727d9 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
@@ -302,13 +248,11 @@ public interface InstanceOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -332,132 +276,102 @@ 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 9732e0d8aba..e7fa84f49da 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,44 +28,38 @@ 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;
   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 @@ -94,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 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,8 +102,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * An expression that filters the list of returned operations.
    * A filter expression consists of a field name, a
@@ -173,7 +143,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -182,15 +151,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_; /** - * - * *
    * 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 @@ -270,8 +236,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; 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]
@@ -281,7 +245,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -290,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.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -308,15 +270,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 +288,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -337,7 +299,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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 +329,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,19 +343,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; } @@ -417,105 +383,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].
@@ -523,34 +480,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();
@@ -566,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);
       }
@@ -590,8 +543,7 @@ 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);
+      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest result = new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest(this);
       result.parent_ = parent_;
       result.filter_ = filter_;
       result.pageSize_ = pageSize_;
@@ -604,52 +556,46 @@ public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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_;
         onChanged();
@@ -691,37 +637,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                filter_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              filter_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 24:
-              {
-                pageSize_ = input.readInt32();
+              break;
+            } // case 18
+            case 24: {
+              pageSize_ = input.readInt32();
 
-                break;
-              } // case 24
-            case 34:
-              {
-                pageToken_ = input.readStringRequireUtf8();
+              break;
+            } // case 24
+            case 34: {
+              pageToken_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -734,23 +675,19 @@ public Builder mergeFrom(
 
     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; @@ -759,24 +696,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 { @@ -784,70 +718,57 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -855,8 +776,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
@@ -898,13 +817,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; @@ -913,8 +832,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -956,14 +873,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 { @@ -971,8 +889,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
@@ -1014,22 +930,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -1071,18 +985,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -1124,32 +1035,29 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - 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 @@ -1157,38 +1065,32 @@ 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; 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() { - + pageSize_ = 0; onChanged(); return this; @@ -1196,8 +1098,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]
@@ -1207,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; @@ -1222,8 +1122,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]
@@ -1233,14 +1131,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 { @@ -1248,8 +1147,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]
@@ -1259,22 +1156,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -1284,18 +1179,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -1305,23 +1197,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1331,44 +1223,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; @@ -1380,8 +1269,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 8cdfef5f51d..7e138626a2c 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,36 +27,32 @@ 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;
   private java.util.List operations_;
   /**
-   *
-   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -92,8 +68,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
@@ -105,13 +79,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
@@ -127,8 +99,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
@@ -144,8 +114,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
@@ -157,15 +125,14 @@ 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;
   private volatile java.lang.Object nextPageToken_;
   /**
-   *
-   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -173,7 +140,6 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -182,15 +148,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]
@@ -198,15 +163,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 { @@ -215,7 +181,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,7 +192,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -244,7 +210,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_); @@ -257,17 +224,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; } @@ -291,105 +258,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].
@@ -397,34 +355,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();
@@ -441,22 +398,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);
       }
@@ -464,10 +418,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (operationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -487,52 +439,46 @@ public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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()) {
@@ -551,10 +497,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_);
           }
@@ -590,31 +535,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();
+            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();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -624,28 +568,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
@@ -664,8 +601,6 @@ public java.util.List getOperationsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -684,8 +619,6 @@ public int getOperationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -704,8 +637,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
@@ -716,7 +647,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();
@@ -730,8 +662,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
@@ -754,8 +684,6 @@ public Builder setOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -780,8 +708,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
@@ -792,7 +718,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();
@@ -806,8 +733,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
@@ -818,7 +743,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());
@@ -829,8 +755,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
@@ -853,8 +777,6 @@ public Builder addOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -869,7 +791,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);
@@ -877,8 +800,6 @@ public Builder addAllOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -900,8 +821,6 @@ public Builder clearOperations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -923,8 +842,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
@@ -935,12 +852,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
@@ -951,16 +867,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
@@ -971,8 +885,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 {
@@ -980,8 +894,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
@@ -993,12 +905,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
@@ -1009,13 +919,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
@@ -1026,22 +935,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_;
@@ -1049,8 +956,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]
@@ -1058,13 +963,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; @@ -1073,8 +978,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -1082,14 +985,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 { @@ -1097,8 +1001,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -1106,22 +1008,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -1129,18 +1029,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -1148,23 +1045,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1174,44 +1071,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; @@ -1223,8 +1117,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 fe89a65ef2d..2f5fd8cee86 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,45 +27,39 @@ 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;
   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 @@ -92,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 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 { @@ -129,15 +103,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -148,8 +119,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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]
@@ -158,7 +127,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -167,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.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -184,15 +151,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 { @@ -201,7 +169,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,7 +180,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -236,7 +204,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -249,17 +218,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -283,104 +254,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].
@@ -388,32 +351,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();
@@ -427,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();
     }
 
@@ -449,8 +412,7 @@ 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);
+      com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest result = new com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -462,50 +424,46 @@ public com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest buildPart
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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_;
         onChanged();
@@ -543,31 +501,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
+
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -580,24 +534,20 @@ public Builder mergeFrom(
 
     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; @@ -606,25 +556,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 { @@ -632,89 +579,73 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * 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 @@ -722,38 +653,32 @@ 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; 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() { - + pageSize_ = 0; onChanged(); return this; @@ -761,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.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -771,13 +694,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; @@ -786,8 +709,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]
@@ -796,14 +717,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 { @@ -811,8 +733,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]
@@ -821,22 +741,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -845,18 +763,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -865,23 +780,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -891,43 +806,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; @@ -939,8 +852,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 9c640669846..f6494a8ebd0 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,35 +27,32 @@ 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;
   private java.util.List instanceConfigs_;
   /**
-   *
-   *
    * 
    * The list of requested instance configurations.
    * 
@@ -81,13 +60,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.
    * 
@@ -95,13 +71,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.
    * 
@@ -113,8 +87,6 @@ public int getInstanceConfigsCount() { return instanceConfigs_.size(); } /** - * - * *
    * The list of requested instance configurations.
    * 
@@ -126,8 +98,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfigs(in return instanceConfigs_.get(index); } /** - * - * *
    * The list of requested instance configurations.
    * 
@@ -143,8 +113,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -152,7 +120,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -161,15 +128,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -177,15 +143,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -194,7 +161,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < instanceConfigs_.size(); i++) { output.writeMessage(1, instanceConfigs_.get(i)); } @@ -223,7 +190,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_); @@ -236,16 +204,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -269,104 +238,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].
@@ -374,32 +335,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();
@@ -416,14 +378,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();
     }
 
@@ -438,8 +399,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (instanceConfigsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -459,50 +419,46 @@ public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse buildPar
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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()) {
@@ -521,10 +477,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_);
           }
@@ -560,33 +515,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();
+            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();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -596,38 +548,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 { @@ -635,8 +577,6 @@ private void ensureInstanceConfigsIsMutable() { } } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -651,8 +591,6 @@ public int getInstanceConfigsCount() { } } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -667,8 +605,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfigs(in } } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -690,8 +626,6 @@ public Builder setInstanceConfigs( return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -710,8 +644,6 @@ public Builder setInstanceConfigs( return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -732,8 +664,6 @@ public Builder addInstanceConfigs(com.google.spanner.admin.instance.v1.InstanceC return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -755,8 +685,6 @@ public Builder addInstanceConfigs( return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -775,8 +703,6 @@ public Builder addInstanceConfigs( return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -795,8 +721,6 @@ public Builder addInstanceConfigs( return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -807,7 +731,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); @@ -815,8 +740,6 @@ public Builder addAllInstanceConfigs( return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -834,8 +757,6 @@ public Builder clearInstanceConfigs() { return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -853,8 +774,6 @@ public Builder removeInstanceConfigs(int index) { return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -866,8 +785,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo return getInstanceConfigsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -877,22 +794,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 { @@ -900,8 +814,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC } } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -909,12 +821,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.
      * 
@@ -923,35 +833,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(), @@ -963,8 +864,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]
@@ -972,13 +871,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; @@ -987,8 +886,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -996,14 +893,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1011,8 +909,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -1020,22 +916,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -1043,18 +937,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -1062,23 +953,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1088,43 +979,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; @@ -1136,8 +1025,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 46a0dc0000d..778943f1a7e 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,44 +28,38 @@ private ListInstancesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInstancesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.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;
   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 @@ -92,32 +68,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The 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 { @@ -128,15 +102,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -147,8 +118,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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]
@@ -157,7 +126,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -166,15 +134,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]
@@ -183,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,8 +170,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; 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:
@@ -224,7 +190,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -233,15 +198,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:
@@ -262,15 +226,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 { @@ -279,7 +244,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -317,7 +282,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_); @@ -333,18 +299,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; } @@ -370,104 +339,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].
@@ -475,32 +436,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();
@@ -516,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
@@ -537,8 +499,7 @@ 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);
+      com.google.spanner.admin.instance.v1.ListInstancesRequest result = new com.google.spanner.admin.instance.v1.ListInstancesRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -551,39 +512,38 @@ public com.google.spanner.admin.instance.v1.ListInstancesRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -591,8 +551,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_;
         onChanged();
@@ -634,37 +593,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
 
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 34:
-              {
-                filter_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 34: {
+              filter_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -677,23 +631,19 @@ public Builder mergeFrom(
 
     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; @@ -702,24 +652,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 { @@ -727,86 +674,70 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the project for which a list of instances is
      * requested. Values are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the project for which a list of instances is
      * requested. Values are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - 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 @@ -814,38 +745,32 @@ 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; 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() { - + pageSize_ = 0; onChanged(); return this; @@ -853,8 +778,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]
@@ -863,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; @@ -878,8 +801,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]
@@ -888,14 +809,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 { @@ -903,8 +825,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]
@@ -913,22 +833,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -937,18 +855,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -957,16 +872,16 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -974,8 +889,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:
@@ -996,13 +909,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; @@ -1011,8 +924,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:
@@ -1033,14 +944,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 { @@ -1048,8 +960,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:
@@ -1070,22 +980,20 @@ 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) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1106,18 +1014,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1138,23 +1043,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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override - 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 +1069,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(); } @@ -1178,27 +1083,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; @@ -1213,4 +1118,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 d91f6a055b4..d2fe402fac0 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,35 +27,32 @@ private ListInstancesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInstancesResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.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;
   private java.util.List instances_;
   /**
-   *
-   *
    * 
    * The list of requested instances.
    * 
@@ -85,8 +64,6 @@ public java.util.List getInstance return instances_; } /** - * - * *
    * The list of requested instances.
    * 
@@ -94,13 +71,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.
    * 
@@ -112,8 +87,6 @@ public int getInstancesCount() { return instances_.size(); } /** - * - * *
    * The list of requested instances.
    * 
@@ -125,8 +98,6 @@ public com.google.spanner.admin.instance.v1.Instance getInstances(int index) { return instances_.get(index); } /** - * - * *
    * The list of requested instances.
    * 
@@ -134,15 +105,14 @@ 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; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -150,7 +120,6 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuil
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -159,15 +128,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -175,15 +143,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -192,7 +161,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < instances_.size(); i++) { output.writeMessage(1, instances_.get(i)); } @@ -221,7 +190,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_); @@ -234,16 +204,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -267,104 +238,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].
@@ -372,32 +335,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();
@@ -414,9 +378,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
@@ -435,8 +399,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (instancesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -456,39 +419,38 @@ public com.google.spanner.admin.instance.v1.ListInstancesResponse buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -496,8 +458,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()) {
@@ -516,10 +477,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_);
           }
@@ -555,32 +515,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();
+            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();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -590,29 +548,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.
      * 
@@ -627,8 +577,6 @@ public java.util.List getInstance } } /** - * - * *
      * The list of requested instances.
      * 
@@ -643,8 +591,6 @@ public int getInstancesCount() { } } /** - * - * *
      * The list of requested instances.
      * 
@@ -659,15 +605,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(); @@ -681,8 +626,6 @@ public Builder setInstances(int index, com.google.spanner.admin.instance.v1.Inst return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -701,8 +644,6 @@ public Builder setInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -723,15 +664,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(); @@ -745,8 +685,6 @@ public Builder addInstances(int index, com.google.spanner.admin.instance.v1.Inst return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -765,8 +703,6 @@ public Builder addInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -785,8 +721,6 @@ public Builder addInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -797,7 +731,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); @@ -805,8 +740,6 @@ public Builder addAllInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -824,8 +757,6 @@ public Builder clearInstances() { return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -843,44 +774,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 { @@ -888,8 +814,6 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuil } } /** - * - * *
      * The list of requested instances.
      * 
@@ -897,48 +821,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_; @@ -946,8 +864,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]
@@ -955,13 +871,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; @@ -970,8 +886,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -979,14 +893,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -994,8 +909,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -1003,22 +916,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -1026,18 +937,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -1045,23 +953,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1071,12 +979,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(); } @@ -1085,27 +993,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; @@ -1120,4 +1028,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 71% 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 cda3c54bc19..271addf53f8 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_;
   /**
-   *
-   *
    * 
    * 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();
@@ -425,9 +386,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
@@ -446,8 +407,7 @@ 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);
+      com.google.spanner.admin.instance.v1.OperationProgress result = new com.google.spanner.admin.instance.v1.OperationProgress(this);
       result.progressPercent_ = progressPercent_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -467,39 +427,38 @@ public com.google.spanner.admin.instance.v1.OperationProgress buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -507,8 +466,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());
       }
@@ -544,31 +502,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                progressPercent_ = input.readInt32();
+            case 8: {
+              progressPercent_ = input.readInt32();
 
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -579,17 +537,14 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int progressPercent_;
+    private int progressPercent_ ;
     /**
-     *
-     *
      * 
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @return The progressPercent. */ @java.lang.Override @@ -597,38 +552,32 @@ public int getProgressPercent() { return progressPercent_; } /** - * - * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; onChanged(); return this; } /** - * - * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @return This builder for chaining. */ public Builder clearProgressPercent() { - + progressPercent_ = 0; onChanged(); return this; @@ -636,33 +585,24 @@ public Builder clearProgressPercent() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -673,8 +613,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Time the request was received.
      * 
@@ -695,15 +633,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -714,8 +651,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -726,7 +661,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -738,8 +673,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -758,8 +691,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -767,13 +698,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 2; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the request was received.
      * 
@@ -784,12 +713,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Time the request was received.
      * 
@@ -797,17 +725,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -815,35 +740,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -854,8 +770,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -877,8 +791,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -886,7 +798,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 3;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -897,8 +810,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -910,7 +821,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -922,8 +833,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -943,8 +852,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -953,13 +860,11 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+      
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -971,12 +876,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -985,24 +889,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1012,12 +913,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();
   }
@@ -1026,27 +927,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;
@@ -1061,4 +962,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 b0705345d38..6c50cd6d90b 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;
@@ -272,14 +240,11 @@ private ReplicaType(int value) {
   public static final int LOCATION_FIELD_NUMBER = 1;
   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 @@ -288,29 +253,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 { @@ -321,46 +286,33 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType getType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType result = - com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.valueOf(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.valueOf(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_; /** - * - * *
    * If true, this location is designated as the default leader location where
    * leader replicas are placed. See the [region types
@@ -369,7 +321,6 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType getType() {
    * 
* * bool default_leader_location = 3; - * * @return The defaultLeaderLocation. */ @java.lang.Override @@ -378,7 +329,6 @@ public boolean getDefaultLeaderLocation() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -390,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) { @@ -414,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; @@ -430,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; } @@ -457,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(); @@ -598,9 +547,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 @@ -619,8 +568,7 @@ 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); + com.google.spanner.admin.instance.v1.ReplicaInfo result = new com.google.spanner.admin.instance.v1.ReplicaInfo(this); result.location_ = location_; result.type_ = type_; result.defaultLeaderLocation_ = defaultLeaderLocation_; @@ -632,39 +580,38 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -672,8 +619,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_; onChanged(); @@ -710,31 +656,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - location_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - type_ = input.readEnum(); - - break; - } // case 16 - case 24: - { - defaultLeaderLocation_ = input.readBool(); - - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + location_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + type_ = input.readEnum(); + + break; + } // case 16 + case 24: { + defaultLeaderLocation_ = input.readBool(); + + 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) { @@ -747,20 +689,18 @@ public Builder mergeFrom( 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; @@ -769,21 +709,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 { @@ -791,61 +730,54 @@ 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) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
      * The location of the serving resources, e.g. "us-central1".
      * 
* * string location = 1; - * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); 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) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; @@ -853,67 +785,51 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType result = - com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.valueOf(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.valueOf(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. */ @@ -921,33 +837,28 @@ public Builder setType(com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaT if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of replica.
      * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); 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
@@ -956,7 +867,6 @@ public Builder clearType() {
      * 
* * bool default_leader_location = 3; - * * @return The defaultLeaderLocation. */ @java.lang.Override @@ -964,8 +874,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
@@ -974,19 +882,16 @@ 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; onChanged(); return this; } /** - * - * *
      * If true, this location is designated as the default leader location where
      * leader replicas are placed. See the [region types
@@ -995,18 +900,17 @@ public Builder setDefaultLeaderLocation(boolean value) {
      * 
* * bool default_leader_location = 3; - * * @return This builder for chaining. */ public Builder clearDefaultLeaderLocation() { - + defaultLeaderLocation_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1016,12 +920,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(); } @@ -1030,27 +934,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; @@ -1065,4 +969,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..06f7280f20d --- /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\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-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 70% 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 8b3d0b7d706..48fa219536f 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.
    * 
@@ -117,8 +89,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC 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]
@@ -126,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 @@ -134,8 +103,6 @@ public boolean hasProgress() { return progress_ != null; } /** - * - * *
    * The progress of the
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -143,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]
@@ -171,14 +133,11 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
   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 @@ -186,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 @@ -201,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.
    * 
@@ -215,7 +169,6 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,7 +180,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (instanceConfig_ != null) { output.writeMessage(1, getInstanceConfig()); } @@ -247,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; @@ -263,25 +220,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; @@ -312,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].
@@ -418,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();
@@ -470,14 +420,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();
     }
 
@@ -492,8 +441,7 @@ 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);
+      com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata result = new com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata(this);
       if (instanceConfigBuilder_ == null) {
         result.instanceConfig_ = instanceConfig_;
       } else {
@@ -517,50 +465,46 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata buildPa
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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());
       }
@@ -596,31 +540,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
+            case 10: {
+              input.readMessage(
+                  getInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -633,47 +579,34 @@ public Builder mergeFrom(
 
     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 instanceConfigBuilder_ != null || instanceConfig_ != null; } /** - * - * *
      * 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.
      * 
@@ -694,8 +627,6 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo return this; } /** - * - * *
      * The desired instance config after updating.
      * 
@@ -714,8 +645,6 @@ public Builder setInstanceConfig( return this; } /** - * - * *
      * The desired instance config after updating.
      * 
@@ -726,9 +655,7 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance if (instanceConfigBuilder_ == null) { if (instanceConfig_ != null) { instanceConfig_ = - com.google.spanner.admin.instance.v1.InstanceConfig.newBuilder(instanceConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.admin.instance.v1.InstanceConfig.newBuilder(instanceConfig_).mergeFrom(value).buildPartial(); } else { instanceConfig_ = value; } @@ -740,8 +667,6 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance return this; } /** - * - * *
      * The desired instance config after updating.
      * 
@@ -760,8 +685,6 @@ public Builder clearInstanceConfig() { return this; } /** - * - * *
      * The desired instance config after updating.
      * 
@@ -769,32 +692,26 @@ public Builder clearInstanceConfig() { * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; */ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceConfigBuilder() { - + onChanged(); 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.
      * 
@@ -802,17 +719,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_; @@ -820,13 +734,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]
@@ -834,15 +743,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 progressBuilder_ != null || progress_ != null; } /** - * - * *
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -850,21 +756,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]
@@ -887,8 +788,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]
@@ -909,8 +808,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -923,9 +820,7 @@ public Builder mergeProgress(com.google.spanner.admin.instance.v1.OperationProgr
       if (progressBuilder_ == null) {
         if (progress_ != null) {
           progress_ =
-              com.google.spanner.admin.instance.v1.OperationProgress.newBuilder(progress_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.spanner.admin.instance.v1.OperationProgress.newBuilder(progress_).mergeFrom(value).buildPartial();
         } else {
           progress_ = value;
         }
@@ -937,8 +832,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]
@@ -959,8 +852,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -970,13 +861,11 @@ public Builder clearProgress() {
      * .google.spanner.admin.instance.v1.OperationProgress progress = 2;
      */
     public com.google.spanner.admin.instance.v1.OperationProgress.Builder getProgressBuilder() {
-
+      
       onChanged();
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -989,14 +878,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]
@@ -1006,17 +892,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_;
@@ -1024,47 +907,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 cancelTimeBuilder_ != null || cancelTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -1085,15 +955,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(); onChanged(); @@ -1104,8 +973,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1116,7 +983,7 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { if (cancelTimeBuilder_ == null) { if (cancelTime_ != null) { cancelTime_ = - com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial(); } else { cancelTime_ = value; } @@ -1128,8 +995,6 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1148,8 +1013,6 @@ public Builder clearCancelTime() { return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1157,13 +1020,11 @@ public Builder clearCancelTime() { * .google.protobuf.Timestamp cancel_time = 3; */ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() { - + onChanged(); return getCancelTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1174,14 +1035,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.
      * 
@@ -1189,24 +1047,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); } @@ -1216,43 +1071,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; @@ -1264,8 +1117,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 71% 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 57b52db08af..a03b907db63 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,9 +94,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]; */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { @@ -138,8 +104,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC 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
@@ -149,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 @@ -159,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
@@ -170,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 @@ -180,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
@@ -191,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() { @@ -202,15 +157,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; 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 @@ -219,7 +171,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,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()); } @@ -251,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; @@ -267,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; } @@ -304,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].
@@ -416,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 +414,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,8 +435,7 @@ 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);
+      com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest result = new com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest(this);
       if (instanceConfigBuilder_ == null) {
         result.instanceConfig_ = instanceConfig_;
       } else {
@@ -506,50 +455,46 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest buildPar
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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());
       }
@@ -585,31 +530,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
+            case 10: {
+              input.readMessage(
+                  getInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 24:
-              {
-                validateOnly_ = input.readBool();
+              break;
+            } // case 18
+            case 24: {
+              validateOnly_ = input.readBool();
 
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -622,13 +567,8 @@ public Builder mergeFrom(
 
     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
@@ -638,18 +578,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 instanceConfigBuilder_ != null || instanceConfig_ != null; } /** - * - * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -659,24 +594,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
@@ -686,9 +614,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) { @@ -704,8 +630,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
@@ -715,9 +639,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) { @@ -731,8 +653,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
@@ -742,17 +662,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 (instanceConfig_ != null) { instanceConfig_ = - com.google.spanner.admin.instance.v1.InstanceConfig.newBuilder(instanceConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.admin.instance.v1.InstanceConfig.newBuilder(instanceConfig_).mergeFrom(value).buildPartial(); } else { instanceConfig_ = value; } @@ -764,8 +680,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
@@ -775,9 +689,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() { if (instanceConfigBuilder_ == null) { @@ -791,8 +703,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
@@ -802,18 +712,14 @@ 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() { - + onChanged(); return getInstanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -823,23 +729,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
@@ -849,22 +749,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_; @@ -872,13 +767,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
@@ -888,17 +778,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -908,23 +794,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
@@ -934,8 +814,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) { @@ -951,8 +830,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
@@ -962,10 +839,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(); onChanged(); @@ -976,8 +853,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
@@ -987,14 +862,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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1006,8 +880,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
@@ -1017,8 +889,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() { if (updateMaskBuilder_ == null) { @@ -1032,8 +903,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -1043,17 +912,14 @@ 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() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -1063,21 +929,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
@@ -1087,37 +949,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 @@ -1125,45 +980,39 @@ 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; 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() { - + validateOnly_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1173,43 +1022,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; @@ -1221,8 +1068,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 74% 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 53bc949f98f..f194e3fc708 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.
    * 
@@ -117,8 +89,6 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild 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]
@@ -126,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 @@ -134,8 +103,6 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time at which
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -143,7 +110,6 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -151,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]
@@ -169,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
@@ -178,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 @@ -186,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
@@ -195,7 +154,6 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ @java.lang.Override @@ -203,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
@@ -221,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 @@ -236,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 @@ -251,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.
    * 
@@ -265,7 +213,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,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()); } @@ -300,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; @@ -319,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; @@ -376,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].
@@ -481,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();
@@ -538,9 +486,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
@@ -559,8 +507,7 @@ 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);
+      com.google.spanner.admin.instance.v1.UpdateInstanceMetadata result = new com.google.spanner.admin.instance.v1.UpdateInstanceMetadata(this);
       if (instanceBuilder_ == null) {
         result.instance_ = instance_;
       } else {
@@ -589,39 +536,38 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceMetadata buildPartial(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -629,8 +575,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());
       }
@@ -669,37 +614,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getInstanceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -712,47 +660,34 @@ public Builder mergeFrom(
 
     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 instanceBuilder_ != null || instance_ != null; } /** - * - * *
      * 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 +708,6 @@ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) return this; } /** - * - * *
      * The desired end state of the update.
      * 
@@ -793,8 +726,6 @@ public Builder setInstance( return this; } /** - * - * *
      * The desired end state of the update.
      * 
@@ -805,9 +736,7 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value if (instanceBuilder_ == null) { if (instance_ != null) { instance_ = - com.google.spanner.admin.instance.v1.Instance.newBuilder(instance_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.admin.instance.v1.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); } else { instance_ = value; } @@ -819,8 +748,6 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value return this; } /** - * - * *
      * The desired end state of the update.
      * 
@@ -839,8 +766,6 @@ public Builder clearInstance() { return this; } /** - * - * *
      * The desired end state of the update.
      * 
@@ -848,13 +773,11 @@ public Builder clearInstance() { * .google.spanner.admin.instance.v1.Instance instance = 1; */ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder() { - + onChanged(); return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * The desired end state of the update.
      * 
@@ -865,14 +788,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.
      * 
@@ -880,17 +800,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_; @@ -898,13 +815,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]
@@ -912,15 +824,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 startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -928,7 +837,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -939,8 +847,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -963,8 +869,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -973,7 +877,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 2;
      */
-    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
         onChanged();
@@ -984,8 +889,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -998,7 +901,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
         if (startTime_ != null) {
           startTime_ =
-              com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial();
         } else {
           startTime_ = value;
         }
@@ -1010,8 +913,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -1032,8 +933,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -1043,13 +942,11 @@ public Builder clearStartTime() {
      * .google.protobuf.Timestamp start_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
-
+      
       onChanged();
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -1062,12 +959,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]
@@ -1077,17 +973,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_;
@@ -1095,13 +988,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
@@ -1109,15 +997,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return cancelTimeBuilder_ != null || 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
@@ -1125,21 +1010,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
@@ -1162,8 +1042,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
@@ -1172,7 +1050,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();
         onChanged();
@@ -1183,8 +1062,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
@@ -1197,7 +1074,7 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
         if (cancelTime_ != null) {
           cancelTime_ =
-              com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
         } else {
           cancelTime_ = value;
         }
@@ -1209,8 +1086,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
@@ -1231,8 +1106,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
@@ -1242,13 +1115,11 @@ public Builder clearCancelTime() {
      * .google.protobuf.Timestamp cancel_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
-
+      
       onChanged();
       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
@@ -1261,14 +1132,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
@@ -1278,17 +1146,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_;
@@ -1296,33 +1161,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 endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * 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() { @@ -1333,8 +1189,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1355,15 +1209,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(); onChanged(); @@ -1374,8 +1227,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1386,7 +1237,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1398,8 +1249,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1418,8 +1267,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1427,13 +1274,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 4; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1444,12 +1289,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.
      * 
@@ -1457,24 +1301,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); } @@ -1484,12 +1325,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(); } @@ -1498,27 +1339,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; @@ -1533,4 +1374,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 07297d147fe..ced3d598eee 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,9 +88,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]; */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { @@ -132,8 +98,6 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild 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.
@@ -142,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 @@ -152,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.
@@ -162,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 @@ -172,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.
@@ -182,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() { @@ -191,7 +146,6 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,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()); } @@ -220,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; @@ -233,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; @@ -274,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].
@@ -379,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();
@@ -424,9 +375,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
@@ -445,8 +396,7 @@ 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);
+      com.google.spanner.admin.instance.v1.UpdateInstanceRequest result = new com.google.spanner.admin.instance.v1.UpdateInstanceRequest(this);
       if (instanceBuilder_ == null) {
         result.instance_ = instance_;
       } else {
@@ -465,39 +415,38 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -505,8 +454,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());
       }
@@ -539,25 +487,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
+            case 10: {
+              input.readMessage(
+                  getInstanceFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getFieldMaskFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getFieldMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -570,13 +519,8 @@ public Builder mergeFrom(
 
     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
@@ -584,18 +528,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 instanceBuilder_ != null || instance_ != null; } /** - * - * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -603,24 +542,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
@@ -628,9 +560,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) { @@ -646,8 +576,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
@@ -655,9 +583,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) { @@ -671,8 +597,6 @@ public Builder setInstance( return this; } /** - * - * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -680,17 +604,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 (instance_ != null) { instance_ = - com.google.spanner.admin.instance.v1.Instance.newBuilder(instance_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.admin.instance.v1.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); } else { instance_ = value; } @@ -702,8 +622,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
@@ -711,9 +629,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() { if (instanceBuilder_ == null) { @@ -727,8 +643,6 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -736,18 +650,14 @@ 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() { - + onChanged(); return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -755,22 +665,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
@@ -778,22 +683,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_; @@ -801,13 +701,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.
@@ -816,17 +711,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 fieldMaskBuilder_ != null || fieldMask_ != null; } /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -835,9 +726,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() { @@ -848,8 +737,6 @@ public com.google.protobuf.FieldMask getFieldMask() { } } /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -858,8 +745,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) { @@ -875,8 +761,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.
@@ -885,10 +769,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(); onChanged(); @@ -899,8 +783,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.
@@ -909,14 +791,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 (fieldMask_ != null) { fieldMask_ = - com.google.protobuf.FieldMask.newBuilder(fieldMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(fieldMask_).mergeFrom(value).buildPartial(); } else { fieldMask_ = value; } @@ -928,8 +809,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.
@@ -938,8 +817,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() { if (fieldMaskBuilder_ == null) { @@ -953,8 +831,6 @@ public Builder clearFieldMask() { return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -963,17 +839,14 @@ 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() { - + onChanged(); return getFieldMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -982,19 +855,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.
@@ -1003,28 +874,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); } @@ -1034,12 +901,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(); } @@ -1048,27 +915,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; @@ -1083,4 +950,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 100% 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 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 100% 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 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 68% 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 5dd215c6aa9..1d7aabe717c 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,85 +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/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; 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 @@ -88,31 +64,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 { @@ -123,14 +97,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 @@ -138,25 +109,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.
    * 
@@ -171,8 +135,6 @@ public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() { public static final int SESSION_COUNT_FIELD_NUMBER = 3; 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
@@ -182,7 +144,6 @@ public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() {
    * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sessionCount. */ @java.lang.Override @@ -191,7 +152,6 @@ public int getSessionCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,7 +163,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -226,10 +187,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; @@ -239,20 +202,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; } @@ -277,136 +242,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(); @@ -424,9 +383,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 @@ -445,8 +404,7 @@ 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); + com.google.spanner.v1.BatchCreateSessionsRequest result = new com.google.spanner.v1.BatchCreateSessionsRequest(this); result.database_ = database_; if (sessionTemplateBuilder_ == null) { result.sessionTemplate_ = sessionTemplate_; @@ -462,39 +420,38 @@ public com.google.spanner.v1.BatchCreateSessionsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -502,8 +459,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_; onChanged(); @@ -540,31 +496,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - database_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getSessionTemplateFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 24: - { - sessionCount_ = input.readInt32(); - - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + database_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getSessionTemplateFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 24: { + sessionCount_ = input.readInt32(); + + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -577,22 +531,18 @@ public Builder mergeFrom( 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; @@ -601,23 +551,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 { @@ -625,67 +572,54 @@ 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) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); 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) = { ... } * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -693,47 +627,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 sessionTemplateBuilder_ != null || sessionTemplate_ != null; } /** - * - * *
      * 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.
      * 
@@ -754,15 +675,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(); onChanged(); @@ -773,8 +693,6 @@ public Builder setSessionTemplate(com.google.spanner.v1.Session.Builder builderF return this; } /** - * - * *
      * Parameters to be applied to each created session.
      * 
@@ -785,9 +703,7 @@ public Builder mergeSessionTemplate(com.google.spanner.v1.Session value) { if (sessionTemplateBuilder_ == null) { if (sessionTemplate_ != null) { sessionTemplate_ = - com.google.spanner.v1.Session.newBuilder(sessionTemplate_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.v1.Session.newBuilder(sessionTemplate_).mergeFrom(value).buildPartial(); } else { sessionTemplate_ = value; } @@ -799,8 +715,6 @@ public Builder mergeSessionTemplate(com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * Parameters to be applied to each created session.
      * 
@@ -819,8 +733,6 @@ public Builder clearSessionTemplate() { return this; } /** - * - * *
      * Parameters to be applied to each created session.
      * 
@@ -828,13 +740,11 @@ public Builder clearSessionTemplate() { * .google.spanner.v1.Session session_template = 2; */ public com.google.spanner.v1.Session.Builder getSessionTemplateBuilder() { - + onChanged(); return getSessionTemplateFieldBuilder().getBuilder(); } /** - * - * *
      * Parameters to be applied to each created session.
      * 
@@ -845,14 +755,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.
      * 
@@ -860,26 +767,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
@@ -889,7 +791,6 @@ public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() {
      * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sessionCount. */ @java.lang.Override @@ -897,8 +798,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
@@ -908,19 +807,16 @@ 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; 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
@@ -930,18 +826,17 @@ public Builder setSessionCount(int value) {
      * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSessionCount() { - + sessionCount_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -951,12 +846,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(); } @@ -965,27 +860,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; @@ -1000,4 +895,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 70% 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 d2fede801e1..d6e5aec6e59 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,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/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; private java.util.List session_; /** - * - * *
    * The freshly created sessions.
    * 
@@ -83,8 +62,6 @@ public java.util.List getSessionList() { return session_; } /** - * - * *
    * The freshly created sessions.
    * 
@@ -92,13 +69,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.
    * 
@@ -110,8 +85,6 @@ public int getSessionCount() { return session_.size(); } /** - * - * *
    * The freshly created sessions.
    * 
@@ -123,8 +96,6 @@ public com.google.spanner.v1.Session getSession(int index) { return session_.get(index); } /** - * - * *
    * The freshly created sessions.
    * 
@@ -132,12 +103,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; @@ -149,7 +120,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -163,7 +135,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; @@ -173,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.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; } @@ -203,135 +176,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(); @@ -346,9 +313,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 @@ -367,8 +334,7 @@ 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); int from_bitField0_ = bitField0_; if (sessionBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -387,39 +353,38 @@ public com.google.spanner.v1.BatchCreateSessionsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -427,8 +392,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()) { @@ -447,10 +411,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_); } @@ -482,25 +445,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) { @@ -510,28 +473,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.
      * 
@@ -546,8 +502,6 @@ public java.util.List getSessionList() { } } /** - * - * *
      * The freshly created sessions.
      * 
@@ -562,8 +516,6 @@ public int getSessionCount() { } } /** - * - * *
      * The freshly created sessions.
      * 
@@ -578,15 +530,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(); @@ -600,15 +551,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()); @@ -619,8 +569,6 @@ public Builder setSession(int index, com.google.spanner.v1.Session.Builder build return this; } /** - * - * *
      * The freshly created sessions.
      * 
@@ -641,15 +589,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(); @@ -663,15 +610,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()); @@ -682,15 +628,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()); @@ -701,8 +646,6 @@ public Builder addSession(int index, com.google.spanner.v1.Session.Builder build return this; } /** - * - * *
      * The freshly created sessions.
      * 
@@ -713,7 +656,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); @@ -721,8 +665,6 @@ public Builder addAllSession( return this; } /** - * - * *
      * The freshly created sessions.
      * 
@@ -740,8 +682,6 @@ public Builder clearSession() { return this; } /** - * - * *
      * The freshly created sessions.
      * 
@@ -759,44 +699,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 { @@ -804,8 +739,6 @@ public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder(int index) { } } /** - * - * *
      * The freshly created sessions.
      * 
@@ -813,54 +746,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); } @@ -870,12 +798,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(); } @@ -884,27 +812,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; @@ -919,4 +847,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 66% 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 e7a7dde41f9..1e3cdd1e713 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,85 +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/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; 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 @@ -88,31 +64,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 { @@ -123,16 +97,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 @@ -140,34 +109,23 @@ 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() { @@ -177,8 +135,6 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() { 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
@@ -188,7 +144,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 @@ -196,8 +151,6 @@ public boolean hasRequestOptions() { return requestOptions_ != null; } /** - * - * *
    * Common options for this request.
    * Priority is ignored for this request. Setting the priority in this
@@ -207,18 +160,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,7 +183,6 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -247,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 {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_);
     }
@@ -270,10 +218,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;
@@ -283,22 +233,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;
@@ -326,136 +278,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(); @@ -477,9 +423,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 @@ -498,8 +444,7 @@ 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); + com.google.spanner.v1.BeginTransactionRequest result = new com.google.spanner.v1.BeginTransactionRequest(this); result.session_ = session_; if (optionsBuilder_ == null) { result.options_ = options_; @@ -519,39 +464,38 @@ public com.google.spanner.v1.BeginTransactionRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -596,31 +540,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - session_ = input.readStringRequireUtf8(); + case 10: { + session_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage(getOptionsFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getOptionsFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getRequestOptionsFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -633,22 +577,18 @@ public Builder mergeFrom( 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; @@ -657,23 +597,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 { @@ -681,67 +618,54 @@ 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) { + public Builder setSession( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + session_ = value; 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() { - + session_ = getDefaultInstance().getSession(); 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) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + session_ = value; onChanged(); return this; @@ -749,58 +673,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 optionsBuilder_ != null || 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. */ 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) { @@ -816,17 +721,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(); onChanged(); @@ -837,23 +739,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 (options_ != null) { options_ = - com.google.spanner.v1.TransactionOptions.newBuilder(options_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.v1.TransactionOptions.newBuilder(options_).mergeFrom(value).buildPartial(); } else { options_ = value; } @@ -865,15 +761,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() { if (optionsBuilder_ == null) { @@ -887,64 +779,48 @@ 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() { - + onChanged(); 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_; @@ -952,13 +828,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
@@ -968,15 +839,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 requestOptionsBuilder_ != null || requestOptions_ != null; } /** - * - * *
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -986,21 +854,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
@@ -1025,8 +888,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
@@ -1037,7 +898,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();
         onChanged();
@@ -1048,8 +910,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
@@ -1064,9 +924,7 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) {
       if (requestOptionsBuilder_ == null) {
         if (requestOptions_ != null) {
           requestOptions_ =
-              com.google.spanner.v1.RequestOptions.newBuilder(requestOptions_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.spanner.v1.RequestOptions.newBuilder(requestOptions_).mergeFrom(value).buildPartial();
         } else {
           requestOptions_ = value;
         }
@@ -1078,8 +936,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
@@ -1102,8 +958,6 @@ public Builder clearRequestOptions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -1115,13 +969,11 @@ public Builder clearRequestOptions() {
      * .google.spanner.v1.RequestOptions request_options = 3;
      */
     public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() {
-
+      
       onChanged();
       return getRequestOptionsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -1136,14 +988,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
@@ -1155,24 +1004,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);
     }
 
@@ -1182,12 +1028,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();
   }
@@ -1196,27 +1042,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;
@@ -1231,4 +1077,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 76%
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 e9540ec3fc5..0bd3c2da8d2 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,39 +73,31 @@ 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; 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 @@ -136,31 +106,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 { @@ -170,14 +138,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 @@ -185,14 +150,11 @@ public boolean hasTransactionId() { return transactionCase_ == 2; } /** - * - * *
    * Commit a previously-started transaction.
    * 
* * bytes transaction_id = 2; - * * @return The transactionId. */ @java.lang.Override @@ -205,8 +167,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
@@ -220,7 +180,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 @@ -228,8 +187,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
@@ -243,19 +200,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
@@ -273,7 +227,7 @@ 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();
   }
@@ -281,8 +235,6 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseTransaction
   public static final int MUTATIONS_FIELD_NUMBER = 4;
   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
@@ -296,8 +248,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
@@ -307,13 +257,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
@@ -327,8 +275,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
@@ -342,8 +288,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
@@ -353,15 +297,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_;
   /**
-   *
-   *
    * 
    * If `true`, then statistics related to the transaction will be included in
    * the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats]. Default value is
@@ -369,7 +312,6 @@ public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index)
    * 
* * bool return_commit_stats = 5; - * * @return The returnCommitStats. */ @java.lang.Override @@ -380,14 +322,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 @@ -395,25 +334,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,7 +358,6 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -438,12 +369,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_); @@ -470,23 +403,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; @@ -496,27 +431,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: @@ -539,7 +480,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(); @@ -561,135 +503,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(); @@ -719,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 @@ -777,39 +714,38 @@ public com.google.spanner.v1.CommitRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -840,10 +776,9 @@ public Builder mergeFrom(com.google.spanner.v1.CommitRequest other) { mutationsBuilder_ = null; mutations_ = other.mutations_; bitField0_ = (bitField0_ & ~0x00000001); - mutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMutationsFieldBuilder() - : null; + mutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMutationsFieldBuilder() : null; } else { mutationsBuilder_.addAllMessages(other.mutations_); } @@ -856,20 +791,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(); @@ -897,56 +829,54 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - session_ = input.readStringRequireUtf8(); - - 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(); - - break; - } // case 40 - case 50: - { - input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + session_ = input.readStringRequireUtf8(); + + 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(); + + break; + } // case 40 + case 50: { + input.readMessage( + getRequestOptionsFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -956,12 +886,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() { @@ -975,22 +905,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; @@ -999,23 +925,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 { @@ -1023,95 +946,76 @@ 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) { + public Builder setSession( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + session_ = value; 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() { - + session_ = getDefaultInstance().getSession(); 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) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + session_ = value; onChanged(); return this; } /** - * - * *
      * 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() { @@ -1121,35 +1025,29 @@ 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(); - } - transactionCase_ = 2; + 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() { @@ -1162,13 +1060,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
@@ -1182,7 +1075,6 @@ public Builder clearTransactionId() {
      * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; - * * @return Whether the singleUseTransaction field is set. */ @java.lang.Override @@ -1190,8 +1082,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
@@ -1205,7 +1095,6 @@ public boolean hasSingleUseTransaction() {
      * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; - * * @return The singleUseTransaction. */ @java.lang.Override @@ -1223,8 +1112,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
@@ -1253,8 +1140,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
@@ -1281,8 +1166,6 @@ public Builder setSingleUseTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1299,13 +1182,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;
         }
@@ -1321,8 +1201,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
@@ -1354,8 +1232,6 @@ public Builder clearSingleUseTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1374,8 +1250,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
@@ -1402,8 +1276,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
@@ -1419,49 +1291,37 @@ 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());
         transaction_ = null;
       }
       transactionCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return singleUseTransactionBuilder_;
     }
 
     private java.util.List mutations_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureMutationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         mutations_ = new java.util.ArrayList(mutations_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.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
@@ -1478,8 +1338,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
@@ -1496,8 +1354,6 @@ public int getMutationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1514,8 +1370,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
@@ -1524,7 +1378,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();
@@ -1538,8 +1393,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
@@ -1548,7 +1401,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());
@@ -1559,8 +1413,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
@@ -1583,8 +1435,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
@@ -1593,7 +1443,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();
@@ -1607,8 +1458,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
@@ -1617,7 +1466,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());
@@ -1628,8 +1478,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
@@ -1638,7 +1486,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());
@@ -1649,8 +1498,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
@@ -1663,7 +1510,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);
@@ -1671,8 +1519,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
@@ -1692,8 +1538,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
@@ -1713,8 +1557,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
@@ -1723,12 +1565,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
@@ -1737,16 +1578,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
@@ -1755,8 +1594,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 {
@@ -1764,8 +1603,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
@@ -1775,12 +1612,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
@@ -1789,13 +1624,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
@@ -1804,31 +1638,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_ & 0x00000001) != 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_ & 0x00000001) != 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
@@ -1836,7 +1666,6 @@ public java.util.List getMutationsBuilde
      * 
* * bool return_commit_stats = 5; - * * @return The returnCommitStats. */ @java.lang.Override @@ -1844,8 +1673,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
@@ -1853,19 +1680,16 @@ 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; 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
@@ -1873,11 +1697,10 @@ public Builder setReturnCommitStats(boolean value) {
      * 
* * bool return_commit_stats = 5; - * * @return This builder for chaining. */ public Builder clearReturnCommitStats() { - + returnCommitStats_ = false; onChanged(); return this; @@ -1885,47 +1708,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 requestOptionsBuilder_ != null || requestOptions_ != null; } /** - * - * *
      * 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.
      * 
@@ -1946,15 +1756,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(); onChanged(); @@ -1965,8 +1774,6 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -1977,9 +1784,7 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { if (requestOptions_ != null) { requestOptions_ = - com.google.spanner.v1.RequestOptions.newBuilder(requestOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.v1.RequestOptions.newBuilder(requestOptions_).mergeFrom(value).buildPartial(); } else { requestOptions_ = value; } @@ -1991,8 +1796,6 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -2011,8 +1814,6 @@ public Builder clearRequestOptions() { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -2020,13 +1821,11 @@ public Builder clearRequestOptions() { * .google.spanner.v1.RequestOptions request_options = 6; */ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { - + onChanged(); return getRequestOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Common options for this request.
      * 
@@ -2037,14 +1836,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.
      * 
@@ -2052,24 +1848,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); } @@ -2079,12 +1872,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(); } @@ -2093,27 +1886,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; @@ -2128,4 +1921,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 72% 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 25a1335dd70..72188c56fb4 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_; /** - * - * *
      * 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,8 +352,7 @@ 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); + com.google.spanner.v1.CommitResponse.CommitStats result = new com.google.spanner.v1.CommitResponse.CommitStats(this); result.mutationCount_ = mutationCount_; onBuilt(); return result; @@ -397,41 +362,38 @@ public com.google.spanner.v1.CommitResponse.CommitStats 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.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; @@ -439,8 +401,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()); } @@ -470,19 +431,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - mutationCount_ = input.readInt64(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + mutationCount_ = input.readInt64(); + + 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) { @@ -493,10 +452,8 @@ public Builder mergeFrom( return this; } - 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
@@ -508,7 +465,6 @@ public Builder mergeFrom(
        * 
* * int64 mutation_count = 1; - * * @return The mutationCount. */ @java.lang.Override @@ -516,8 +472,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
@@ -529,19 +483,16 @@ 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; onChanged(); return this; } /** - * - * *
        * The total number of mutations for the transaction. Knowing the
        * `mutation_count` value can help you maximize the number of mutations
@@ -553,16 +504,14 @@ public Builder setMutationCount(long value) {
        * 
* * int64 mutation_count = 1; - * * @return This builder for chaining. */ public Builder clearMutationCount() { - + mutationCount_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -575,12 +524,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(); } @@ -589,28 +538,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; @@ -625,19 +573,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 @@ -645,25 +591,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.
    * 
@@ -678,8 +617,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { 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
@@ -687,7 +624,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 @@ -695,8 +631,6 @@ public boolean hasCommitStats() { return commitStats_ != null; } /** - * - * *
    * The statistics about this Commit. Not returned by default.
    * For more information, see
@@ -704,18 +638,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
@@ -730,7 +659,6 @@ public com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder getCommitStatsO
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -742,7 +670,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -759,10 +688,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;
@@ -772,7 +703,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);
@@ -781,11 +712,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;
@@ -811,135 +744,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(); @@ -959,9 +887,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 @@ -999,39 +927,38 @@ public com.google.spanner.v1.CommitResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -1072,25 +999,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCommitTimestampFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getCommitTimestampFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getCommitStatsFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getCommitStatsFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1103,47 +1031,34 @@ public Builder mergeFrom( 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 commitTimestampBuilder_ != null || commitTimestamp_ != null; } /** - * - * *
      * 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.
      * 
@@ -1164,15 +1079,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(); onChanged(); @@ -1183,8 +1097,6 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderF return this; } /** - * - * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1195,9 +1107,7 @@ public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) { if (commitTimestampBuilder_ == null) { if (commitTimestamp_ != null) { commitTimestamp_ = - com.google.protobuf.Timestamp.newBuilder(commitTimestamp_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(commitTimestamp_).mergeFrom(value).buildPartial(); } else { commitTimestamp_ = value; } @@ -1209,8 +1119,6 @@ public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1229,8 +1137,6 @@ public Builder clearCommitTimestamp() { return this; } /** - * - * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1238,13 +1144,11 @@ public Builder clearCommitTimestamp() { * .google.protobuf.Timestamp commit_timestamp = 1; */ public com.google.protobuf.Timestamp.Builder getCommitTimestampBuilder() { - + onChanged(); return getCommitTimestampFieldBuilder().getBuilder(); } /** - * - * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1255,14 +1159,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.
      * 
@@ -1270,17 +1171,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_; @@ -1288,13 +1186,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
@@ -1302,15 +1195,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 commitStatsBuilder_ != null || commitStats_ != null; } /** - * - * *
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1318,21 +1208,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
@@ -1355,8 +1240,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
@@ -1377,8 +1260,6 @@ public Builder setCommitStats(
       return this;
     }
     /**
-     *
-     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1391,9 +1272,7 @@ public Builder mergeCommitStats(com.google.spanner.v1.CommitResponse.CommitStats
       if (commitStatsBuilder_ == null) {
         if (commitStats_ != null) {
           commitStats_ =
-              com.google.spanner.v1.CommitResponse.CommitStats.newBuilder(commitStats_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.spanner.v1.CommitResponse.CommitStats.newBuilder(commitStats_).mergeFrom(value).buildPartial();
         } else {
           commitStats_ = value;
         }
@@ -1405,8 +1284,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
@@ -1427,8 +1304,6 @@ public Builder clearCommitStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1438,13 +1313,11 @@ public Builder clearCommitStats() {
      * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;
      */
     public com.google.spanner.v1.CommitResponse.CommitStats.Builder getCommitStatsBuilder() {
-
+      
       onChanged();
       return getCommitStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1457,14 +1330,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
@@ -1474,24 +1344,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);
     }
 
@@ -1501,12 +1368,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();
   }
@@ -1515,27 +1382,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;
@@ -1550,4 +1417,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..82b44a9257e
--- /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\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/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 84a46ed52c6..66d0c4a3294 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,85 +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/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; 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 @@ -88,31 +64,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 { @@ -123,14 +97,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 @@ -138,14 +109,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 @@ -153,8 +121,6 @@ public com.google.spanner.v1.Session getSession() { return session_ == null ? com.google.spanner.v1.Session.getDefaultInstance() : session_; } /** - * - * *
    * Required. The session to create.
    * 
@@ -167,7 +133,6 @@ public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -199,7 +165,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; @@ -209,18 +176,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; @@ -244,136 +212,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(); @@ -389,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 @@ -410,8 +372,7 @@ 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); + com.google.spanner.v1.CreateSessionRequest result = new com.google.spanner.v1.CreateSessionRequest(this); result.database_ = database_; if (sessionBuilder_ == null) { result.session_ = session_; @@ -426,39 +387,38 @@ public com.google.spanner.v1.CreateSessionRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -500,25 +460,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - database_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getSessionFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + database_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getSessionFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -531,22 +490,18 @@ public Builder mergeFrom( 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; @@ -555,23 +510,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 { @@ -579,67 +531,54 @@ 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) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); 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) = { ... } * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -647,35 +586,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 sessionBuilder_ != null || session_ != null; } /** - * - * *
      * 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() { @@ -686,14 +614,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) { @@ -709,16 +634,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(); onChanged(); @@ -729,20 +652,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 (session_ != null) { session_ = - com.google.spanner.v1.Session.newBuilder(session_).mergeFrom(value).buildPartial(); + com.google.spanner.v1.Session.newBuilder(session_).mergeFrom(value).buildPartial(); } else { session_ = value; } @@ -754,14 +674,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() { if (sessionBuilder_ == null) { @@ -775,66 +692,55 @@ 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() { - + onChanged(); 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); } @@ -844,12 +750,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(); } @@ -858,27 +764,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; @@ -893,4 +799,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 9d407873508..6e1ef77239e 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,85 +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/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; 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 @@ -88,31 +64,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 { @@ -121,7 +95,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +106,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -157,15 +131,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -184,136 +158,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(); @@ -323,9 +291,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 @@ -344,8 +312,7 @@ 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); + com.google.spanner.v1.DeleteSessionRequest result = new com.google.spanner.v1.DeleteSessionRequest(this); result.name_ = name_; onBuilt(); return result; @@ -355,39 +322,38 @@ public com.google.spanner.v1.DeleteSessionRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -426,19 +392,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -451,22 +415,18 @@ public Builder mergeFrom( 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; @@ -475,23 +435,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 { @@ -499,74 +456,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -576,12 +520,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(); } @@ -590,27 +534,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; @@ -625,4 +569,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 1cf5bf18dce..674f0bb1121 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
@@ -222,13 +186,11 @@ public interface StatementOrBuilder
      */
 
     /* 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
@@ -241,79 +203,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; private volatile java.lang.Object sql_; /** - * - * *
      * Required. The DML string.
      * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ @java.lang.Override @@ -322,29 +280,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 { @@ -355,8 +313,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
@@ -369,7 +325,6 @@ public com.google.protobuf.ByteString getSqlBytes() {
      * 
* * .google.protobuf.Struct params = 2; - * * @return Whether the params field is set. */ @java.lang.Override @@ -377,8 +332,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
@@ -391,7 +344,6 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 2; - * * @return The params. */ @java.lang.Override @@ -399,8 +351,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
@@ -420,24 +370,21 @@ 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());
-    }
-
-    private com.google.protobuf.MapField paramTypes_;
-
+              .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());
+    }
+    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);
@@ -449,8 +396,6 @@ 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
@@ -463,22 +408,22 @@ 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
@@ -492,12 +437,11 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
     @java.lang.Override
+
     public java.util.Map getParamTypesMap() {
       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
@@ -511,18 +455,16 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
     @java.lang.Override
+
     public com.google.spanner.v1.Type getParamTypesOrDefault(
-        java.lang.String key, com.google.spanner.v1.Type defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String 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
@@ -536,10 +478,10 @@ public 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)) {
@@ -549,7 +491,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;
@@ -561,15 +502,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);
     }
 
@@ -583,17 +529,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;
@@ -603,20 +550,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;
     }
@@ -644,94 +593,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
@@ -741,61 +683,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(); @@ -812,9 +754,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 @@ -833,8 +775,7 @@ 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); + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement result = new com.google.spanner.v1.ExecuteBatchDmlRequest.Statement(this); int from_bitField0_ = bitField0_; result.sql_ = sql_; if (paramsBuilder_ == null) { @@ -852,41 +793,38 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement 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.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; @@ -894,8 +832,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_; onChanged(); @@ -903,7 +840,8 @@ public Builder mergeFrom(com.google.spanner.v1.ExecuteBatchDmlRequest.Statement if (other.hasParams()) { mergeParams(other.getParams()); } - internalGetMutableParamTypes().mergeFrom(other.internalGetParamTypes()); + internalGetMutableParamTypes().mergeFrom( + other.internalGetParamTypes()); this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -930,37 +868,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - sql_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - com.google.protobuf.MapEntry - paramTypes__ = - input.readMessage( - ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableParamTypes() - .getMutableMap() - .put(paramTypes__.getKey(), paramTypes__.getValue()); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + sql_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getParamsFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + com.google.protobuf.MapEntry + paramTypes__ = input.readMessage( + ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableParamTypes().getMutableMap().put( + paramTypes__.getKey(), paramTypes__.getValue()); + 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) { @@ -970,25 +903,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; @@ -997,21 +927,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 { @@ -1019,61 +948,54 @@ 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) { + public Builder setSql( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sql_ = value; onChanged(); return this; } /** - * - * *
        * Required. The DML string.
        * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSql() { - + sql_ = getDefaultInstance().getSql(); onChanged(); 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) { + public Builder setSqlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sql_ = value; onChanged(); return this; @@ -1081,13 +1003,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
@@ -1100,15 +1017,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 paramsBuilder_ != null || params_ != null; } /** - * - * *
        * Parameter names and values that bind to placeholders in the DML string.
        * A parameter placeholder consists of the `@` character followed by the
@@ -1121,7 +1035,6 @@ public boolean hasParams() {
        * 
* * .google.protobuf.Struct params = 2; - * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -1132,8 +1045,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
@@ -1161,8 +1072,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
@@ -1176,7 +1085,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();
           onChanged();
@@ -1187,8 +1097,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
@@ -1206,7 +1114,7 @@ public Builder mergeParams(com.google.protobuf.Struct value) {
         if (paramsBuilder_ == null) {
           if (params_ != null) {
             params_ =
-                com.google.protobuf.Struct.newBuilder(params_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Struct.newBuilder(params_).mergeFrom(value).buildPartial();
           } else {
             params_ = value;
           }
@@ -1218,8 +1126,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
@@ -1245,8 +1151,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
@@ -1261,13 +1165,11 @@ public Builder clearParams() {
        * .google.protobuf.Struct params = 2;
        */
       public com.google.protobuf.Struct.Builder getParamsBuilder() {
-
+        
         onChanged();
         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
@@ -1285,12 +1187,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
@@ -1305,41 +1206,35 @@ 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() {
+      internalGetParamTypes() {
         if (paramTypes_ == null) {
           return com.google.protobuf.MapField.emptyMapField(
               ParamTypesDefaultEntryHolder.defaultEntry);
         }
         return paramTypes_;
       }
-
       private com.google.protobuf.MapField
-          internalGetMutableParamTypes() {
-        onChanged();
-        ;
+      internalGetMutableParamTypes() {
+        onChanged();;
         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();
@@ -1351,8 +1246,6 @@ 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
@@ -1365,22 +1258,22 @@ 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
@@ -1394,12 +1287,11 @@ public java.util.Map getParamTypes
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
       @java.lang.Override
+
       public java.util.Map getParamTypesMap() {
         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
@@ -1413,18 +1305,16 @@ public java.util.Map getParamTypes
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
       @java.lang.Override
+
       public com.google.spanner.v1.Type getParamTypesOrDefault(
-          java.lang.String key, com.google.spanner.v1.Type defaultValue) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+          java.lang.String 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
@@ -1438,10 +1328,10 @@ public 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)) {
@@ -1451,12 +1341,11 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
       }
 
       public Builder clearParamTypes() {
-        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
@@ -1469,21 +1358,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() {
         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
@@ -1496,20 +1387,19 @@ 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");
-        }
+      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");
-        }
+  throw new NullPointerException("map value");
+}
 
-        internalGetMutableParamTypes().getMutableMap().put(key, value);
+        internalGetMutableParamTypes().getMutableMap()
+            .put(key, value);
         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
@@ -1522,12 +1412,13 @@ public Builder putParamTypes(java.lang.String key, com.google.spanner.v1.Type va
        *
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
+
       public Builder putAllParamTypes(
           java.util.Map values) {
-        internalGetMutableParamTypes().getMutableMap().putAll(values);
+        internalGetMutableParamTypes().getMutableMap()
+            .putAll(values);
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1540,12 +1431,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();
     }
@@ -1554,28 +1445,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;
@@ -1590,21 +1480,17 @@ 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;
   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 @@ -1613,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 { @@ -1648,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
@@ -1657,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 @@ -1668,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
@@ -1677,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
@@ -1699,9 +1569,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]; */ @java.lang.Override public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() { @@ -1711,8 +1579,6 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde public static final int STATEMENTS_FIELD_NUMBER = 3; 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
@@ -1721,18 +1587,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
@@ -1741,18 +1602,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
@@ -1761,17 +1618,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
@@ -1780,17 +1633,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
@@ -1799,9 +1648,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( @@ -1812,8 +1659,6 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatem public static final int SEQNO_FIELD_NUMBER = 4; 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
@@ -1825,7 +1670,6 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatem
    * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The seqno. */ @java.lang.Override @@ -1836,14 +1680,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 @@ -1851,25 +1692,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.
    * 
@@ -1882,7 +1716,6 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1894,7 +1727,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1923,16 +1757,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; @@ -1942,24 +1780,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; @@ -1983,7 +1825,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(); @@ -1993,136 +1836,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(); @@ -2153,9 +1990,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 @@ -2174,8 +2011,7 @@ 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); int from_bitField0_ = bitField0_; result.session_ = session_; if (transactionBuilder_ == null) { @@ -2206,39 +2042,38 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -2272,10 +2107,9 @@ public Builder mergeFrom(com.google.spanner.v1.ExecuteBatchDmlRequest other) { statementsBuilder_ = null; statements_ = other.statements_; bitField0_ = (bitField0_ & ~0x00000001); - statementsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getStatementsFieldBuilder() - : null; + statementsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getStatementsFieldBuilder() : null; } else { statementsBuilder_.addAllMessages(other.statements_); } @@ -2313,51 +2147,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - session_ = input.readStringRequireUtf8(); + case 10: { + session_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getTransactionFieldBuilder().getBuilder(), + extensionRegistry); - 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(); + 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(); - break; - } // case 32 - case 42: - { - input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 32 + case 42: { + input.readMessage( + getRequestOptionsFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2367,27 +2199,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; @@ -2396,23 +2223,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 { @@ -2420,67 +2244,54 @@ 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) { + public Builder setSession( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + session_ = value; 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() { - + session_ = getDefaultInstance().getSession(); 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) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + session_ = value; onChanged(); return this; @@ -2488,13 +2299,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
@@ -2502,18 +2308,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 transactionBuilder_ != null || transaction_ != null; } /** - * - * *
      * Required. The transaction to use. Must be a read-write transaction.
      * To protect against replays, single-use transactions are not supported. The
@@ -2521,24 +2322,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
@@ -2546,9 +2340,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) { @@ -2564,8 +2356,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
@@ -2573,9 +2363,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) { @@ -2589,8 +2377,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
@@ -2598,17 +2384,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 (transaction_ != null) { transaction_ = - com.google.spanner.v1.TransactionSelector.newBuilder(transaction_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.v1.TransactionSelector.newBuilder(transaction_).mergeFrom(value).buildPartial(); } else { transaction_ = value; } @@ -2620,8 +2402,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
@@ -2629,9 +2409,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() { if (transactionBuilder_ == null) { @@ -2645,8 +2423,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
@@ -2654,18 +2430,14 @@ 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() { - + onChanged(); 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
@@ -2673,22 +2445,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
@@ -2696,48 +2463,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_ & 0x00000001) != 0)) { - statements_ = - new java.util.ArrayList( - statements_); + statements_ = new java.util.ArrayList(statements_); bitField0_ |= 0x00000001; - } + } } 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
@@ -2746,12 +2500,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 { @@ -2759,8 +2510,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
@@ -2769,9 +2518,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) { @@ -2781,8 +2528,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
@@ -2791,9 +2536,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) { @@ -2803,8 +2546,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
@@ -2813,9 +2554,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) { @@ -2832,8 +2571,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
@@ -2842,9 +2579,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) { @@ -2858,8 +2593,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
@@ -2868,9 +2601,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) { @@ -2886,8 +2617,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
@@ -2896,9 +2625,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) { @@ -2915,8 +2642,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
@@ -2925,9 +2650,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) { @@ -2941,8 +2664,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
@@ -2951,9 +2672,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) { @@ -2967,8 +2686,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
@@ -2977,16 +2694,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); @@ -2994,8 +2709,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
@@ -3004,9 +2717,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) { @@ -3019,8 +2730,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
@@ -3029,9 +2738,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) { @@ -3044,8 +2751,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
@@ -3054,17 +2759,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
@@ -3073,21 +2774,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
@@ -3096,12 +2792,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 { @@ -3109,8 +2803,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
@@ -3119,17 +2811,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
@@ -3138,19 +2826,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
@@ -3159,36 +2842,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_ & 0x00000001) != 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_ & 0x00000001) != 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
@@ -3200,7 +2876,6 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder addStateme
      * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The seqno. */ @java.lang.Override @@ -3208,8 +2883,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
@@ -3221,19 +2894,16 @@ 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; 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
@@ -3245,11 +2915,10 @@ public Builder setSeqno(long value) {
      * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSeqno() { - + seqno_ = 0L; onChanged(); return this; @@ -3257,47 +2926,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 requestOptionsBuilder_ != null || requestOptions_ != null; } /** - * - * *
      * 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.
      * 
@@ -3318,15 +2974,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(); onChanged(); @@ -3337,8 +2992,6 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -3349,9 +3002,7 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { if (requestOptions_ != null) { requestOptions_ = - com.google.spanner.v1.RequestOptions.newBuilder(requestOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.v1.RequestOptions.newBuilder(requestOptions_).mergeFrom(value).buildPartial(); } else { requestOptions_ = value; } @@ -3363,8 +3014,6 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -3383,8 +3032,6 @@ public Builder clearRequestOptions() { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -3392,13 +3039,11 @@ public Builder clearRequestOptions() { * .google.spanner.v1.RequestOptions request_options = 5; */ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { - + onChanged(); return getRequestOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Common options for this request.
      * 
@@ -3409,14 +3054,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.
      * 
@@ -3424,24 +3066,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); } @@ -3451,12 +3090,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(); } @@ -3465,27 +3104,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; @@ -3500,4 +3139,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 1b985c8fd38..7047158748b 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,51 +27,47 @@
  *
  * 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;
   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
@@ -105,8 +84,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
@@ -119,13 +96,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
@@ -142,8 +117,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
@@ -160,8 +133,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
@@ -174,22 +145,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 @@ -197,15 +166,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 @@ -213,8 +179,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.
@@ -228,7 +192,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -240,7 +203,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < resultSets_.size(); i++) {
       output.writeMessage(1, resultSets_.get(i));
     }
@@ -257,10 +221,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;
@@ -270,18 +236,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;
@@ -307,104 +274,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
@@ -428,32 +388,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();
@@ -474,9 +435,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
@@ -495,8 +456,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (resultSetsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -520,39 +480,38 @@ public com.google.spanner.v1.ExecuteBatchDmlResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -579,10 +538,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_);
           }
@@ -617,31 +575,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);
+            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);
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -651,28 +610,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
@@ -692,8 +644,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
@@ -713,8 +663,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
@@ -734,8 +682,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
@@ -747,7 +693,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();
@@ -761,8 +708,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
@@ -786,8 +731,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
@@ -813,8 +756,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
@@ -826,7 +767,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();
@@ -840,8 +782,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
@@ -853,7 +793,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());
@@ -864,8 +805,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
@@ -889,8 +828,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
@@ -906,7 +843,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);
@@ -914,8 +852,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
@@ -938,8 +874,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
@@ -962,8 +896,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
@@ -975,12 +907,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
@@ -992,16 +923,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
@@ -1013,8 +942,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 {
@@ -1022,8 +951,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
@@ -1036,12 +963,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
@@ -1053,13 +978,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
@@ -1071,22 +995,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_;
@@ -1094,33 +1016,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 statusBuilder_ != null || 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. */ public com.google.rpc.Status getStatus() { @@ -1131,8 +1046,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.
@@ -1154,8 +1067,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.
@@ -1163,7 +1074,8 @@ public Builder setStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status status = 2;
      */
-    public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setStatus(
+        com.google.rpc.Status.Builder builderForValue) {
       if (statusBuilder_ == null) {
         status_ = builderForValue.build();
         onChanged();
@@ -1174,8 +1086,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.
@@ -1186,7 +1096,8 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
     public Builder mergeStatus(com.google.rpc.Status value) {
       if (statusBuilder_ == null) {
         if (status_ != null) {
-          status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
+          status_ =
+            com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
         } else {
           status_ = value;
         }
@@ -1198,8 +1109,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.
@@ -1219,8 +1128,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.
@@ -1229,13 +1136,11 @@ public Builder clearStatus() {
      * .google.rpc.Status status = 2;
      */
     public com.google.rpc.Status.Builder getStatusBuilder() {
-
+      
       onChanged();
       return getStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1247,12 +1152,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.
@@ -1261,21 +1165,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);
     }
 
@@ -1285,12 +1189,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();
   }
@@ -1299,27 +1203,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;
@@ -1334,4 +1238,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 79%
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 a5b9b32ea56..4f1ab57ca8a 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,35 +345,32 @@ 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; private volatile java.lang.Object optimizerVersion_; /** - * - * *
      * An option to control the selection of optimizer version.
      * This parameter allows individual queries to pick different query
@@ -438,7 +391,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string optimizer_version = 1; - * * @return The optimizerVersion. */ @java.lang.Override @@ -447,15 +399,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
@@ -476,15 +427,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,8 +447,6 @@ public com.google.protobuf.ByteString getOptimizerVersionBytes() { public static final int OPTIMIZER_STATISTICS_PACKAGE_FIELD_NUMBER = 2; 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
@@ -519,7 +469,6 @@ public com.google.protobuf.ByteString getOptimizerVersionBytes() {
      * 
* * string optimizer_statistics_package = 2; - * * @return The optimizerStatisticsPackage. */ @java.lang.Override @@ -528,15 +477,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
@@ -559,15 +507,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 { @@ -576,7 +525,6 @@ public com.google.protobuf.ByteString getOptimizerStatisticsPackageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -588,7 +536,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -608,9 +557,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; @@ -620,17 +567,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; } @@ -652,94 +599,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 @@ -749,41 +689,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(); @@ -795,9 +733,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 @@ -816,8 +754,7 @@ 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); + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions result = new com.google.spanner.v1.ExecuteSqlRequest.QueryOptions(this); result.optimizerVersion_ = optimizerVersion_; result.optimizerStatisticsPackage_ = optimizerStatisticsPackage_; onBuilt(); @@ -828,41 +765,38 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions 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.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; @@ -870,8 +804,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_; onChanged(); @@ -906,25 +839,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - optimizerVersion_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - optimizerStatisticsPackage_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + optimizerVersion_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + optimizerStatisticsPackage_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -937,8 +867,6 @@ public Builder mergeFrom( private java.lang.Object optimizerVersion_ = ""; /** - * - * *
        * An option to control the selection of optimizer version.
        * This parameter allows individual queries to pick different query
@@ -959,13 +887,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; @@ -974,8 +902,6 @@ public java.lang.String getOptimizerVersion() { } } /** - * - * *
        * An option to control the selection of optimizer version.
        * This parameter allows individual queries to pick different query
@@ -996,14 +922,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 { @@ -1011,8 +938,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
@@ -1033,22 +958,20 @@ 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) { + public Builder setOptimizerVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + optimizerVersion_ = value; onChanged(); return this; } /** - * - * *
        * An option to control the selection of optimizer version.
        * This parameter allows individual queries to pick different query
@@ -1069,18 +992,15 @@ public Builder setOptimizerVersion(java.lang.String value) {
        * 
* * string optimizer_version = 1; - * * @return This builder for chaining. */ public Builder clearOptimizerVersion() { - + optimizerVersion_ = getDefaultInstance().getOptimizerVersion(); onChanged(); return this; } /** - * - * *
        * An option to control the selection of optimizer version.
        * This parameter allows individual queries to pick different query
@@ -1101,16 +1021,16 @@ 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) { + public Builder setOptimizerVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + optimizerVersion_ = value; onChanged(); return this; @@ -1118,8 +1038,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
@@ -1142,13 +1060,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; @@ -1157,8 +1075,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
@@ -1181,14 +1097,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 { @@ -1196,8 +1113,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
@@ -1220,22 +1135,20 @@ 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) { + public Builder setOptimizerStatisticsPackage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + optimizerStatisticsPackage_ = value; onChanged(); return this; } /** - * - * *
        * An option to control the selection of optimizer statistics package.
        * This parameter allows individual queries to use a different query
@@ -1258,18 +1171,15 @@ public Builder setOptimizerStatisticsPackage(java.lang.String value) {
        * 
* * string optimizer_statistics_package = 2; - * * @return This builder for chaining. */ public Builder clearOptimizerStatisticsPackage() { - + optimizerStatisticsPackage_ = getDefaultInstance().getOptimizerStatisticsPackage(); onChanged(); return this; } /** - * - * *
        * An option to control the selection of optimizer statistics package.
        * This parameter allows individual queries to use a different query
@@ -1292,21 +1202,20 @@ 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) { + public Builder setOptimizerStatisticsPackageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + optimizerStatisticsPackage_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1319,12 +1228,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(); } @@ -1333,28 +1242,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; @@ -1369,21 +1277,17 @@ 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; 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 @@ -1392,31 +1296,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 { @@ -1427,8 +1329,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
@@ -1440,7 +1340,6 @@ public com.google.protobuf.ByteString getSessionBytes() {
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -1448,8 +1347,6 @@ public boolean hasTransaction() { return transaction_ != null; } /** - * - * *
    * The transaction to use.
    * For queries, if none is provided, the default is a temporary read-only
@@ -1461,18 +1358,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
@@ -1493,14 +1385,11 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
   public static final int SQL_FIELD_NUMBER = 3;
   private volatile java.lang.Object sql_;
   /**
-   *
-   *
    * 
    * Required. The SQL string.
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ @java.lang.Override @@ -1509,29 +1398,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 { @@ -1542,8 +1431,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
@@ -1557,7 +1444,6 @@ public com.google.protobuf.ByteString getSqlBytes() {
    * 
* * .google.protobuf.Struct params = 4; - * * @return Whether the params field is set. */ @java.lang.Override @@ -1565,8 +1451,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
@@ -1580,7 +1464,6 @@ public boolean hasParams() {
    * 
* * .google.protobuf.Struct params = 4; - * * @return The params. */ @java.lang.Override @@ -1588,8 +1471,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
@@ -1610,26 +1491,24 @@ 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());
-  }
-
-  private com.google.protobuf.MapField paramTypes_;
-
+            .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());
+  }
+  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_;
   }
@@ -1638,8 +1517,6 @@ 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
@@ -1652,22 +1529,22 @@ 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
@@ -1681,12 +1558,11 @@ public java.util.Map getParamTypes
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
+
   public java.util.Map getParamTypesMap() {
     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
@@ -1700,18 +1576,16 @@ public java.util.Map getParamTypes
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
+
   public com.google.spanner.v1.Type getParamTypesOrDefault(
-      java.lang.String key, com.google.spanner.v1.Type defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+      java.lang.String 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
@@ -1725,10 +1599,10 @@ public 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)) {
@@ -1740,8 +1614,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_;
   /**
-   *
-   *
    * 
    * If this request is resuming a previously interrupted SQL statement
    * execution, `resume_token` should be copied from the last
@@ -1752,7 +1624,6 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
    * 
* * bytes resume_token = 6; - * * @return The resumeToken. */ @java.lang.Override @@ -1763,8 +1634,6 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int QUERY_MODE_FIELD_NUMBER = 7; private int 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
@@ -1772,16 +1641,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
@@ -1789,22 +1654,17 @@ 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() { + @java.lang.Override public com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode() { @SuppressWarnings("deprecation") - com.google.spanner.v1.ExecuteSqlRequest.QueryMode result = - com.google.spanner.v1.ExecuteSqlRequest.QueryMode.valueOf(queryMode_); + com.google.spanner.v1.ExecuteSqlRequest.QueryMode result = com.google.spanner.v1.ExecuteSqlRequest.QueryMode.valueOf(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_; /** - * - * *
    * If present, results will be restricted to the specified partition
    * previously created using PartitionQuery().  There must be an exact
@@ -1813,7 +1673,6 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode() {
    * 
* * bytes partition_token = 8; - * * @return The partitionToken. */ @java.lang.Override @@ -1824,8 +1683,6 @@ public com.google.protobuf.ByteString getPartitionToken() { public static final int SEQNO_FIELD_NUMBER = 9; 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
@@ -1838,7 +1695,6 @@ public com.google.protobuf.ByteString getPartitionToken() {
    * 
* * int64 seqno = 9; - * * @return The seqno. */ @java.lang.Override @@ -1849,14 +1705,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 @@ -1864,25 +1717,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.
    * 
@@ -1897,14 +1743,11 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder getQueryOpt 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 @@ -1912,25 +1755,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.
    * 
@@ -1943,7 +1779,6 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1955,7 +1790,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1968,8 +1804,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_); } @@ -2001,41 +1841,49 @@ 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()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2045,35 +1893,45 @@ public int 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2109,7 +1967,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(); @@ -2123,104 +1982,97 @@ public int hashCode() { 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].
@@ -2228,52 +2080,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();
@@ -2318,9 +2173,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
@@ -2339,8 +2194,7 @@ 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);
+      com.google.spanner.v1.ExecuteSqlRequest result = new com.google.spanner.v1.ExecuteSqlRequest(this);
       int from_bitField0_ = bitField0_;
       result.session_ = session_;
       if (transactionBuilder_ == null) {
@@ -2378,39 +2232,38 @@ public com.google.spanner.v1.ExecuteSqlRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -2433,7 +2286,8 @@ public Builder mergeFrom(com.google.spanner.v1.ExecuteSqlRequest other) {
       if (other.hasParams()) {
         mergeParams(other.getParams());
       }
-      internalGetMutableParamTypes().mergeFrom(other.internalGetParamTypes());
+      internalGetMutableParamTypes().mergeFrom(
+          other.internalGetParamTypes());
       if (other.getResumeToken() != com.google.protobuf.ByteString.EMPTY) {
         setResumeToken(other.getResumeToken());
       }
@@ -2478,85 +2332,78 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                session_ = input.readStringRequireUtf8();
+            case 10: {
+              session_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTransactionFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                sql_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              sql_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getParamsFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 34
-            case 42:
-              {
-                com.google.protobuf.MapEntry
-                    paramTypes__ =
-                        input.readMessage(
-                            ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableParamTypes()
-                    .getMutableMap()
-                    .put(paramTypes__.getKey(), paramTypes__.getValue());
-                break;
-              } // case 42
-            case 50:
-              {
-                resumeToken_ = input.readBytes();
+              break;
+            } // case 34
+            case 42: {
+              com.google.protobuf.MapEntry
+              paramTypes__ = input.readMessage(
+                  ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableParamTypes().getMutableMap().put(
+                  paramTypes__.getKey(), paramTypes__.getValue());
+              break;
+            } // case 42
+            case 50: {
+              resumeToken_ = input.readBytes();
 
-                break;
-              } // case 50
-            case 56:
-              {
-                queryMode_ = input.readEnum();
+              break;
+            } // case 50
+            case 56: {
+              queryMode_ = input.readEnum();
 
-                break;
-              } // case 56
-            case 66:
-              {
-                partitionToken_ = input.readBytes();
+              break;
+            } // case 56
+            case 66: {
+              partitionToken_ = input.readBytes();
 
-                break;
-              } // case 66
-            case 72:
-              {
-                seqno_ = input.readInt64();
+              break;
+            } // case 66
+            case 72: {
+              seqno_ = input.readInt64();
 
-                break;
-              } // case 72
-            case 82:
-              {
-                input.readMessage(getQueryOptionsFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 72
+            case 82: {
+              input.readMessage(
+                  getQueryOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 82
-            case 90:
-              {
-                input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 82
+            case 90: {
+              input.readMessage(
+                  getRequestOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 90
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 90
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2566,27 +2413,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; @@ -2595,23 +2437,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 { @@ -2619,67 +2458,54 @@ 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) { + public Builder setSession( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + session_ = value; 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() { - + session_ = getDefaultInstance().getSession(); 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) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + session_ = value; onChanged(); return this; @@ -2687,13 +2513,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
@@ -2705,15 +2526,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 transactionBuilder_ != null || transaction_ != null; } /** - * - * *
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2725,21 +2543,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
@@ -2766,8 +2579,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
@@ -2792,8 +2603,6 @@ public Builder setTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2810,9 +2619,7 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
       if (transactionBuilder_ == null) {
         if (transaction_ != null) {
           transaction_ =
-              com.google.spanner.v1.TransactionSelector.newBuilder(transaction_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.spanner.v1.TransactionSelector.newBuilder(transaction_).mergeFrom(value).buildPartial();
         } else {
           transaction_ = value;
         }
@@ -2824,8 +2631,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
@@ -2850,8 +2655,6 @@ public Builder clearTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2865,13 +2668,11 @@ public Builder clearTransaction() {
      * .google.spanner.v1.TransactionSelector transaction = 2;
      */
     public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder() {
-
+      
       onChanged();
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2888,14 +2689,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
@@ -2909,17 +2707,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_;
@@ -2927,20 +2722,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; @@ -2949,21 +2742,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 { @@ -2971,61 +2763,54 @@ 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) { + public Builder setSql( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sql_ = value; onChanged(); return this; } /** - * - * *
      * Required. The SQL string.
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSql() { - + sql_ = getDefaultInstance().getSql(); onChanged(); 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) { + public Builder setSqlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sql_ = value; onChanged(); return this; @@ -3033,13 +2818,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
@@ -3053,15 +2833,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 paramsBuilder_ != null || params_ != null; } /** - * - * *
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -3075,7 +2852,6 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 4; - * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -3086,8 +2862,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
@@ -3116,8 +2890,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
@@ -3132,7 +2904,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();
         onChanged();
@@ -3143,8 +2916,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
@@ -3162,7 +2933,8 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
     public Builder mergeParams(com.google.protobuf.Struct value) {
       if (paramsBuilder_ == null) {
         if (params_ != null) {
-          params_ = com.google.protobuf.Struct.newBuilder(params_).mergeFrom(value).buildPartial();
+          params_ =
+            com.google.protobuf.Struct.newBuilder(params_).mergeFrom(value).buildPartial();
         } else {
           params_ = value;
         }
@@ -3174,8 +2946,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
@@ -3202,8 +2972,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
@@ -3219,13 +2987,11 @@ public Builder clearParams() {
      * .google.protobuf.Struct params = 4;
      */
     public com.google.protobuf.Struct.Builder getParamsBuilder() {
-
+      
       onChanged();
       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
@@ -3244,12 +3010,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
@@ -3265,40 +3030,35 @@ 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() {
+    internalGetParamTypes() {
       if (paramTypes_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             ParamTypesDefaultEntryHolder.defaultEntry);
       }
       return paramTypes_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableParamTypes() {
-      onChanged();
-      ;
+    internalGetMutableParamTypes() {
+      onChanged();;
       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();
@@ -3310,8 +3070,6 @@ 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
@@ -3324,22 +3082,22 @@ 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
@@ -3353,12 +3111,11 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
+
     public java.util.Map getParamTypesMap() {
       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
@@ -3372,18 +3129,16 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
+
     public com.google.spanner.v1.Type getParamTypesOrDefault(
-        java.lang.String key, com.google.spanner.v1.Type defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String 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
@@ -3397,10 +3152,10 @@ public 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)) {
@@ -3410,12 +3165,11 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
     }
 
     public Builder clearParamTypes() {
-      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
@@ -3428,21 +3182,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() {
       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
@@ -3455,20 +3211,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableParamTypes().getMutableMap().put(key, value);
+      internalGetMutableParamTypes().getMutableMap()
+          .put(key, value);
       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
@@ -3481,16 +3236,16 @@ public Builder putParamTypes(java.lang.String key, com.google.spanner.v1.Type va
      *
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
+
     public Builder putAllParamTypes(
         java.util.Map values) {
-      internalGetMutableParamTypes().getMutableMap().putAll(values);
+      internalGetMutableParamTypes().getMutableMap()
+          .putAll(values);
       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
@@ -3501,7 +3256,6 @@ public Builder putAllParamTypes(
      * 
* * bytes resume_token = 6; - * * @return The resumeToken. */ @java.lang.Override @@ -3509,8 +3263,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
@@ -3521,22 +3273,19 @@ 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(); - } - + throw new NullPointerException(); + } + resumeToken_ = value; onChanged(); return this; } /** - * - * *
      * If this request is resuming a previously interrupted SQL statement
      * execution, `resume_token` should be copied from the last
@@ -3547,11 +3296,10 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 6; - * * @return This builder for chaining. */ public Builder clearResumeToken() { - + resumeToken_ = getDefaultInstance().getResumeToken(); onChanged(); return this; @@ -3559,8 +3307,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
@@ -3568,16 +3314,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
@@ -3585,19 +3327,16 @@ 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. */ public Builder setQueryModeValue(int value) { - + queryMode_ = value; onChanged(); 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
@@ -3605,21 +3344,15 @@ 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() { @SuppressWarnings("deprecation") - com.google.spanner.v1.ExecuteSqlRequest.QueryMode result = - com.google.spanner.v1.ExecuteSqlRequest.QueryMode.valueOf(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.valueOf(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
@@ -3627,7 +3360,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. */ @@ -3635,14 +3367,12 @@ public Builder setQueryMode(com.google.spanner.v1.ExecuteSqlRequest.QueryMode va if (value == null) { throw new NullPointerException(); } - + queryMode_ = value.getNumber(); onChanged(); 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
@@ -3650,11 +3380,10 @@ 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() { - + queryMode_ = 0; onChanged(); return this; @@ -3662,8 +3391,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
@@ -3672,7 +3399,6 @@ public Builder clearQueryMode() {
      * 
* * bytes partition_token = 8; - * * @return The partitionToken. */ @java.lang.Override @@ -3680,8 +3406,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
@@ -3690,22 +3414,19 @@ 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(); - } - + throw new NullPointerException(); + } + partitionToken_ = value; onChanged(); return this; } /** - * - * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionQuery().  There must be an exact
@@ -3714,20 +3435,17 @@ public Builder setPartitionToken(com.google.protobuf.ByteString value) {
      * 
* * bytes partition_token = 8; - * * @return This builder for chaining. */ public Builder clearPartitionToken() { - + partitionToken_ = getDefaultInstance().getPartitionToken(); onChanged(); 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
@@ -3740,7 +3458,6 @@ public Builder clearPartitionToken() {
      * 
* * int64 seqno = 9; - * * @return The seqno. */ @java.lang.Override @@ -3748,8 +3465,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
@@ -3762,19 +3477,16 @@ public long getSeqno() {
      * 
* * int64 seqno = 9; - * * @param value The seqno to set. * @return This builder for chaining. */ public Builder setSeqno(long value) { - + seqno_ = value; 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
@@ -3787,11 +3499,10 @@ public Builder setSeqno(long value) {
      * 
* * int64 seqno = 9; - * * @return This builder for chaining. */ public Builder clearSeqno() { - + seqno_ = 0L; onChanged(); return this; @@ -3799,47 +3510,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 queryOptionsBuilder_ != null || queryOptions_ != null; } /** - * - * *
      * 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.
      * 
@@ -3860,8 +3558,6 @@ public Builder setQueryOptions(com.google.spanner.v1.ExecuteSqlRequest.QueryOpti return this; } /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -3880,8 +3576,6 @@ public Builder setQueryOptions( return this; } /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -3892,9 +3586,7 @@ public Builder mergeQueryOptions(com.google.spanner.v1.ExecuteSqlRequest.QueryOp if (queryOptionsBuilder_ == null) { if (queryOptions_ != null) { queryOptions_ = - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.newBuilder(queryOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.newBuilder(queryOptions_).mergeFrom(value).buildPartial(); } else { queryOptions_ = value; } @@ -3906,8 +3598,6 @@ public Builder mergeQueryOptions(com.google.spanner.v1.ExecuteSqlRequest.QueryOp return this; } /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -3926,8 +3616,6 @@ public Builder clearQueryOptions() { return this; } /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -3935,32 +3623,26 @@ public Builder clearQueryOptions() { * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; */ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder getQueryOptionsBuilder() { - + onChanged(); 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.
      * 
@@ -3968,17 +3650,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_; @@ -3986,47 +3665,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 requestOptionsBuilder_ != null || requestOptions_ != null; } /** - * - * *
      * 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.
      * 
@@ -4047,15 +3713,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(); onChanged(); @@ -4066,8 +3731,6 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -4078,9 +3741,7 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { if (requestOptions_ != null) { requestOptions_ = - com.google.spanner.v1.RequestOptions.newBuilder(requestOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.v1.RequestOptions.newBuilder(requestOptions_).mergeFrom(value).buildPartial(); } else { requestOptions_ = value; } @@ -4092,8 +3753,6 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -4112,8 +3771,6 @@ public Builder clearRequestOptions() { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -4121,13 +3778,11 @@ public Builder clearRequestOptions() { * .google.spanner.v1.RequestOptions request_options = 11; */ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { - + onChanged(); return getRequestOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Common options for this request.
      * 
@@ -4138,14 +3793,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.
      * 
@@ -4153,24 +3805,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_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4180,12 +3829,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(); } @@ -4194,27 +3843,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; @@ -4229,4 +3878,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 87% 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 1b99cbbfa29..ded58d18c65 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
@@ -257,13 +208,11 @@ public interface ExecuteSqlRequestOrBuilder
    */
 
   /* 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
@@ -276,11 +225,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
@@ -291,14 +240,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
@@ -306,13 +252,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
@@ -320,14 +263,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
@@ -336,14 +276,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
@@ -356,38 +293,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.
    * 
@@ -397,32 +325,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.
    * 
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 61% 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 b7d42896061..2459ce5f89f 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,85 +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/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; 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 @@ -88,31 +64,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 { @@ -121,7 +95,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +106,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -157,14 +131,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -183,136 +158,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(); @@ -322,9 +291,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 @@ -343,8 +312,7 @@ 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); + com.google.spanner.v1.GetSessionRequest result = new com.google.spanner.v1.GetSessionRequest(this); result.name_ = name_; onBuilt(); return result; @@ -354,39 +322,38 @@ public com.google.spanner.v1.GetSessionRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -425,19 +392,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -450,22 +415,18 @@ public Builder mergeFrom( 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; @@ -474,23 +435,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 { @@ -498,74 +456,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -575,12 +520,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(); } @@ -589,27 +534,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; @@ -624,4 +569,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 77% 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 f411904ac4c..958883b13e8 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();
@@ -775,7 +712,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;
     }
 
@@ -834,39 +772,38 @@ public com.google.spanner.v1.KeyRange buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -876,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();
@@ -933,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) {
@@ -973,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() {
@@ -990,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() {
@@ -1002,21 +937,16 @@ public Builder clearEndKeyType() {
       return this;
     }
 
+
     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 +954,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 +977,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 +998,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 +1005,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 +1017,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 +1026,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 +1045,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 +1069,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 +1080,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 +1099,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,43 +1107,33 @@ 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;
-      onChanged();
-      ;
+      onChanged();;
       return startClosedBuilder_;
     }
 
     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 @@ -1240,15 +1141,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 @@ -1266,8 +1164,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`.
@@ -1289,8 +1185,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`.
@@ -1298,7 +1192,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();
@@ -1309,8 +1204,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`.
@@ -1320,13 +1213,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;
         }
@@ -1342,8 +1232,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`.
@@ -1368,8 +1256,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`.
@@ -1381,8 +1267,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`.
@@ -1402,8 +1286,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`.
@@ -1412,43 +1294,33 @@ 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;
-      onChanged();
-      ;
+      onChanged();;
       return startOpenBuilder_;
     }
 
     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 @@ -1456,15 +1328,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 @@ -1482,8 +1351,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`.
@@ -1505,8 +1372,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`.
@@ -1514,7 +1379,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();
@@ -1525,8 +1391,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`.
@@ -1536,12 +1400,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;
         }
@@ -1557,8 +1419,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`.
@@ -1583,8 +1443,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`.
@@ -1596,8 +1454,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`.
@@ -1617,8 +1473,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`.
@@ -1627,43 +1481,33 @@ 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;
-      onChanged();
-      ;
+      onChanged();;
       return endClosedBuilder_;
     }
 
     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 @@ -1671,15 +1515,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 @@ -1697,8 +1538,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`.
@@ -1720,8 +1559,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`.
@@ -1729,7 +1566,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();
@@ -1740,8 +1578,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`.
@@ -1751,12 +1587,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;
         }
@@ -1772,8 +1606,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`.
@@ -1798,8 +1630,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`.
@@ -1811,8 +1641,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`.
@@ -1832,8 +1660,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`.
@@ -1842,30 +1668,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();
-      ;
+      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);
     }
 
@@ -1875,12 +1697,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();
   }
@@ -1889,27 +1711,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;
@@ -1924,4 +1746,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 7b2674debd6..5da90280117 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,24 +31,25 @@ 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);
   }
@@ -74,8 +57,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int KEYS_FIELD_NUMBER = 1;
   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
@@ -90,8 +71,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
@@ -102,12 +81,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
@@ -122,8 +100,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
@@ -138,8 +114,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
@@ -150,15 +124,14 @@ 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;
   private java.util.List ranges_;
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -171,8 +144,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.
@@ -181,13 +152,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.
@@ -200,8 +169,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.
@@ -214,8 +181,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.
@@ -224,15 +189,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_;
   /**
-   *
-   *
    * 
    * 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
@@ -240,7 +204,6 @@ public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(int index) {
    * 
* * bool all = 3; - * * @return The all. */ @java.lang.Override @@ -249,7 +212,6 @@ public boolean getAll() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,7 +223,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -281,13 +244,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; @@ -297,16 +263,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; } @@ -327,109 +296,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
@@ -441,30 +405,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();
@@ -488,7 +455,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;
     }
 
@@ -537,39 +505,38 @@ public com.google.spanner.v1.KeySet buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -596,10 +563,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_);
           }
@@ -623,10 +589,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_);
           }
@@ -661,43 +626,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();
+            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();
 
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -707,27 +672,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
@@ -745,8 +704,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
@@ -764,8 +721,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
@@ -783,8 +738,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
@@ -794,7 +747,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();
@@ -808,8 +762,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
@@ -819,7 +771,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());
@@ -830,8 +783,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
@@ -855,8 +806,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
@@ -866,7 +815,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();
@@ -880,8 +830,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
@@ -891,7 +839,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());
@@ -902,8 +851,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
@@ -913,7 +860,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());
@@ -924,8 +872,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
@@ -935,10 +881,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);
@@ -946,8 +894,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
@@ -968,8 +914,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
@@ -990,8 +934,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
@@ -1001,12 +943,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
@@ -1016,16 +957,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
@@ -1035,7 +974,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 {
@@ -1043,8 +983,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
@@ -1055,11 +993,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
@@ -1069,13 +1006,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
@@ -1085,46 +1021,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.
@@ -1140,8 +1068,6 @@ public java.util.List getRangesList() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1157,8 +1083,6 @@ public int getRangesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1174,8 +1098,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.
@@ -1183,7 +1105,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();
@@ -1197,8 +1120,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.
@@ -1206,7 +1127,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());
@@ -1217,8 +1139,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.
@@ -1240,8 +1160,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.
@@ -1249,7 +1167,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();
@@ -1263,8 +1182,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.
@@ -1272,7 +1189,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());
@@ -1283,8 +1201,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.
@@ -1292,7 +1208,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());
@@ -1303,8 +1220,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.
@@ -1316,7 +1231,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);
@@ -1324,8 +1240,6 @@ public Builder addAllRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1344,8 +1258,6 @@ public Builder clearRanges() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1364,8 +1276,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.
@@ -1373,12 +1283,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.
@@ -1386,16 +1295,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.
@@ -1403,8 +1310,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 {
@@ -1412,8 +1319,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.
@@ -1422,12 +1327,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.
@@ -1435,13 +1338,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.
@@ -1449,31 +1351,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
@@ -1481,7 +1379,6 @@ public java.util.List getRangesBuilderLi
      * 
* * bool all = 3; - * * @return The all. */ @java.lang.Override @@ -1489,8 +1386,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
@@ -1498,19 +1393,16 @@ public boolean getAll() {
      * 
* * bool all = 3; - * * @param value The all to set. * @return This builder for chaining. */ public Builder setAll(boolean value) { - + all_ = value; 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
@@ -1518,18 +1410,17 @@ public Builder setAll(boolean value) {
      * 
* * bool all = 3; - * * @return This builder for chaining. */ public Builder clearAll() { - + all_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1539,12 +1430,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(); } @@ -1553,27 +1444,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; @@ -1588,4 +1479,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..a98b0daebf1 --- /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\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/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 56fce398459..6b60e18e61b 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,43 +27,37 @@ 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; 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 @@ -90,31 +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; } } /** - * - * *
    * 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 { @@ -125,15 +99,12 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -144,8 +115,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -153,7 +122,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -162,15 +130,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
@@ -178,15 +145,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 { @@ -197,8 +165,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; 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:
@@ -210,7 +176,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -219,15 +184,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:
@@ -239,15 +203,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 { @@ -256,7 +221,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,7 +232,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -294,7 +259,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_); @@ -310,18 +276,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; } @@ -346,136 +315,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(); @@ -491,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 @@ -512,8 +475,7 @@ 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); + com.google.spanner.v1.ListSessionsRequest result = new com.google.spanner.v1.ListSessionsRequest(this); result.database_ = database_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -526,39 +488,38 @@ public com.google.spanner.v1.ListSessionsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -608,37 +569,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - database_ = input.readStringRequireUtf8(); + case 10: { + database_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -651,22 +607,18 @@ public Builder mergeFrom( 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; @@ -675,23 +627,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 { @@ -699,83 +648,67 @@ 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) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); 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) = { ... } * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); 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 @@ -783,38 +716,32 @@ 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; 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() { - + pageSize_ = 0; onChanged(); return this; @@ -822,8 +749,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
@@ -831,13 +756,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; @@ -846,8 +771,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
@@ -855,14 +778,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 { @@ -870,8 +794,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
@@ -879,22 +801,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -902,18 +822,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -921,16 +838,16 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -938,8 +855,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:
@@ -951,13 +866,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; @@ -966,8 +881,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:
@@ -979,14 +892,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 { @@ -994,8 +908,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:
@@ -1007,22 +919,20 @@ 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) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1034,18 +944,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1057,23 +964,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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1083,12 +990,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(); } @@ -1097,27 +1004,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; @@ -1132,4 +1039,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 861c8076602..007c393c690 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,35 +26,32 @@ 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; private java.util.List sessions_; /** - * - * *
    * The list of requested sessions.
    * 
@@ -84,8 +63,6 @@ public java.util.List getSessionsList() { return sessions_; } /** - * - * *
    * The list of requested sessions.
    * 
@@ -93,13 +70,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.
    * 
@@ -111,8 +86,6 @@ public int getSessionsCount() { return sessions_.size(); } /** - * - * *
    * The list of requested sessions.
    * 
@@ -124,8 +97,6 @@ public com.google.spanner.v1.Session getSessions(int index) { return sessions_.get(index); } /** - * - * *
    * The list of requested sessions.
    * 
@@ -133,15 +104,14 @@ 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; 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
@@ -149,7 +119,6 @@ public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(int index) {
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -158,15 +127,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -174,15 +142,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -191,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < sessions_.size(); i++) { output.writeMessage(1, sessions_.get(i)); } @@ -220,7 +189,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_); @@ -233,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -265,136 +236,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(); @@ -411,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_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 @@ -432,8 +397,7 @@ 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); int from_bitField0_ = bitField0_; if (sessionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -453,39 +417,38 @@ public com.google.spanner.v1.ListSessionsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -512,10 +475,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_); } @@ -551,31 +513,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(); + 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(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -585,28 +546,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.
      * 
@@ -621,8 +575,6 @@ public java.util.List getSessionsList() { } } /** - * - * *
      * The list of requested sessions.
      * 
@@ -637,8 +589,6 @@ public int getSessionsCount() { } } /** - * - * *
      * The list of requested sessions.
      * 
@@ -653,15 +603,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(); @@ -675,15 +624,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()); @@ -694,8 +642,6 @@ public Builder setSessions(int index, com.google.spanner.v1.Session.Builder buil return this; } /** - * - * *
      * The list of requested sessions.
      * 
@@ -716,15 +662,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(); @@ -738,15 +683,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()); @@ -757,15 +701,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()); @@ -776,8 +719,6 @@ public Builder addSessions(int index, com.google.spanner.v1.Session.Builder buil return this; } /** - * - * *
      * The list of requested sessions.
      * 
@@ -788,7 +729,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); @@ -796,8 +738,6 @@ public Builder addAllSessions( return this; } /** - * - * *
      * The list of requested sessions.
      * 
@@ -815,8 +755,6 @@ public Builder clearSessions() { return this; } /** - * - * *
      * The list of requested sessions.
      * 
@@ -834,44 +772,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 { @@ -879,8 +812,6 @@ public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(int index) { } } /** - * - * *
      * The list of requested sessions.
      * 
@@ -888,47 +819,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_; @@ -936,8 +862,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
@@ -945,13 +869,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; @@ -960,8 +884,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
@@ -969,14 +891,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -984,8 +907,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
@@ -993,22 +914,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -1016,18 +935,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -1035,23 +951,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1061,12 +977,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(); } @@ -1075,27 +991,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; @@ -1110,4 +1026,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 62e7878a301..9d1dc2621ae 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,41 +230,37 @@ 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;
     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 @@ -316,29 +269,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,8 +302,6 @@ public com.google.protobuf.ByteString getTableBytes() { public static final int COLUMNS_FIELD_NUMBER = 2; 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
@@ -359,15 +310,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
@@ -376,15 +325,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
@@ -393,7 +339,6 @@ public int getColumnsCount() {
      * 
* * repeated string columns = 2; - * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -401,8 +346,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
@@ -411,19 +354,17 @@ 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; 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
@@ -442,8 +383,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
@@ -458,13 +397,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
@@ -483,8 +420,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
@@ -503,8 +438,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
@@ -519,12 +452,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;
@@ -536,7 +469,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.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_);
       }
@@ -567,7 +501,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;
@@ -577,16 +512,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;
     }
@@ -613,94 +551,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
@@ -710,8 +642,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.
@@ -719,33 +649,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();
@@ -764,9 +694,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
@@ -785,8 +715,7 @@ 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);
         int from_bitField0_ = bitField0_;
         result.table_ = table_;
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -811,41 +740,38 @@ public com.google.spanner.v1.Mutation.Write 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.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;
@@ -886,10 +812,9 @@ public Builder mergeFrom(com.google.spanner.v1.Mutation.Write 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_);
             }
@@ -921,38 +846,36 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  table_ = input.readStringRequireUtf8();
-
-                  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();
+
+                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) {
@@ -962,25 +885,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; @@ -989,21 +909,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 { @@ -1011,78 +930,67 @@ 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) { + public Builder setTable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; 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() { - + table_ = getDefaultInstance().getTable(); onChanged(); 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) { + public Builder setTableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); 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_ & 0x00000001) != 0)) { columns_ = new com.google.protobuf.LazyStringArrayList(columns_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * 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
@@ -1091,15 +999,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
@@ -1108,15 +1014,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
@@ -1125,7 +1028,6 @@ public int getColumnsCount() {
        * 
* * repeated string columns = 2; - * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -1133,8 +1035,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
@@ -1143,16 +1043,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
@@ -1161,23 +1059,21 @@ 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) { + public Builder setColumns( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); + 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
@@ -1186,22 +1082,20 @@ 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) { + public Builder addColumns( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); + 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
@@ -1210,19 +1104,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
@@ -1231,7 +1124,6 @@ public Builder addAllColumns(java.lang.Iterable values) {
        * 
* * repeated string columns = 2; - * * @return This builder for chaining. */ public Builder clearColumns() { @@ -1241,8 +1133,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
@@ -1251,15 +1141,15 @@ 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) { + public Builder addColumnsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureColumnsIsMutable(); columns_.add(value); onChanged(); @@ -1267,24 +1157,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_ & 0x00000002) != 0)) { values_ = new java.util.ArrayList(values_); bitField0_ |= 0x00000002; - } + } } 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
@@ -1306,8 +1190,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
@@ -1329,8 +1211,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
@@ -1352,8 +1232,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
@@ -1367,7 +1245,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();
@@ -1381,8 +1260,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
@@ -1396,7 +1273,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());
@@ -1407,8 +1285,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
@@ -1436,8 +1312,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
@@ -1451,7 +1325,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();
@@ -1465,8 +1340,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
@@ -1480,7 +1353,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());
@@ -1491,8 +1365,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
@@ -1506,7 +1378,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());
@@ -1517,8 +1390,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
@@ -1536,7 +1407,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);
@@ -1544,8 +1416,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
@@ -1570,8 +1440,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
@@ -1596,8 +1464,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
@@ -1611,12 +1477,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
@@ -1630,16 +1495,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
@@ -1653,8 +1516,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 {
@@ -1662,8 +1525,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
@@ -1678,12 +1539,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
@@ -1697,13 +1556,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
@@ -1717,27 +1575,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_ & 0x00000002) != 0), getParentForChildren(), isClean());
+          valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
+                  values_,
+                  ((bitField0_ & 0x00000002) != 0),
+                  getParentForChildren(),
+                  isClean());
           values_ = null;
         }
         return valuesBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1750,12 +1605,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();
     }
@@ -1764,28 +1619,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;
@@ -1800,41 +1654,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
@@ -1845,13 +1692,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
@@ -1862,13 +1706,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
@@ -1883,65 +1724,58 @@ 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; 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 @@ -1950,29 +1784,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 { @@ -1983,8 +1817,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
@@ -1995,7 +1827,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 @@ -2003,8 +1834,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
@@ -2015,7 +1844,6 @@ public boolean hasKeySet() {
      * 
* * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keySet. */ @java.lang.Override @@ -2023,8 +1851,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
@@ -2042,7 +1868,6 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2054,7 +1879,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.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_);
       }
@@ -2074,7 +1900,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;
@@ -2084,17 +1911,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;
@@ -2118,94 +1947,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
@@ -2215,41 +2038,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(); @@ -2265,9 +2086,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 @@ -2286,8 +2107,7 @@ 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); + com.google.spanner.v1.Mutation.Delete result = new com.google.spanner.v1.Mutation.Delete(this); result.table_ = table_; if (keySetBuilder_ == null) { result.keySet_ = keySet_; @@ -2302,41 +2122,38 @@ public com.google.spanner.v1.Mutation.Delete 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.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; @@ -2378,25 +2195,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - table_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getKeySetFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + table_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getKeySetFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2409,20 +2225,18 @@ public Builder mergeFrom( 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; @@ -2431,21 +2245,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 { @@ -2453,61 +2266,54 @@ 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) { + public Builder setTable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; 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() { - + table_ = getDefaultInstance().getTable(); onChanged(); 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) { + public Builder setTableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); return this; @@ -2515,13 +2321,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
@@ -2531,17 +2332,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 keySetBuilder_ != null || 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
@@ -2551,9 +2348,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() { @@ -2564,8 +2359,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
@@ -2575,8 +2368,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) { @@ -2592,8 +2384,6 @@ 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
@@ -2603,10 +2393,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(); onChanged(); @@ -2617,8 +2407,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
@@ -2628,14 +2416,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 (keySet_ != null) { keySet_ = - com.google.spanner.v1.KeySet.newBuilder(keySet_).mergeFrom(value).buildPartial(); + com.google.spanner.v1.KeySet.newBuilder(keySet_).mergeFrom(value).buildPartial(); } else { keySet_ = value; } @@ -2647,8 +2434,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
@@ -2658,8 +2443,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() { if (keySetBuilder_ == null) { @@ -2672,9 +2456,7 @@ 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
@@ -2684,17 +2466,14 @@ 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() { - + onChanged(); 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
@@ -2704,19 +2483,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
@@ -2726,26 +2503,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) { @@ -2758,12 +2530,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(); } @@ -2772,28 +2544,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; @@ -2808,14 +2579,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), @@ -2824,7 +2594,6 @@ public enum OperationCase DELETE(5), OPERATION_NOT_SET(0); private final int value; - private OperationCase(int value) { this.value = value; } @@ -2840,43 +2609,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 @@ -2884,27 +2644,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`.
@@ -2915,22 +2670,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 @@ -2938,27 +2690,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`.
@@ -2969,15 +2716,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
@@ -2988,7 +2733,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 @@ -2996,8 +2740,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
@@ -3008,19 +2750,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
@@ -3035,15 +2774,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
@@ -3056,7 +2793,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 @@ -3064,8 +2800,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
@@ -3078,19 +2812,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
@@ -3107,22 +2838,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 @@ -3130,27 +2858,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.
@@ -3161,13 +2884,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;
@@ -3179,7 +2901,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_);
     }
@@ -3205,29 +2928,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;
@@ -3237,7 +2955,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);
@@ -3247,19 +2965,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:
@@ -3304,103 +3027,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
@@ -3409,31 +3126,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();
@@ -3458,9 +3177,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
@@ -3524,39 +3243,38 @@ public com.google.spanner.v1.Mutation buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -3566,35 +3284,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();
@@ -3622,43 +3334,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) {
@@ -3668,12 +3384,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() {
@@ -3683,21 +3399,16 @@ public Builder clearOperation() {
       return this;
     }
 
+
     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 @@ -3705,15 +3416,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 @@ -3731,8 +3439,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`.
@@ -3754,8 +3460,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`.
@@ -3763,7 +3467,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();
@@ -3774,8 +3479,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`.
@@ -3785,13 +3488,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;
         }
@@ -3807,8 +3507,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`.
@@ -3833,8 +3531,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`.
@@ -3846,8 +3542,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`.
@@ -3867,8 +3561,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`.
@@ -3877,45 +3569,33 @@ 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());
         operation_ = null;
       }
       operationCase_ = 1;
-      onChanged();
-      ;
+      onChanged();;
       return insertBuilder_;
     }
 
     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 @@ -3923,15 +3603,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 @@ -3949,8 +3626,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`.
@@ -3972,8 +3647,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`.
@@ -3981,7 +3654,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();
@@ -3992,8 +3666,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`.
@@ -4003,13 +3675,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;
         }
@@ -4025,8 +3694,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`.
@@ -4051,8 +3718,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`.
@@ -4064,8 +3729,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`.
@@ -4085,8 +3748,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`.
@@ -4095,38 +3756,27 @@ 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());
         operation_ = null;
       }
       operationCase_ = 2;
-      onChanged();
-      ;
+      onChanged();;
       return updateBuilder_;
     }
 
     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
@@ -4137,7 +3787,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 @@ -4145,8 +3794,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
@@ -4157,7 +3804,6 @@ public boolean hasInsertOrUpdate() {
      * 
* * .google.spanner.v1.Mutation.Write insert_or_update = 3; - * * @return The insertOrUpdate. */ @java.lang.Override @@ -4175,8 +3821,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
@@ -4202,8 +3846,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
@@ -4215,7 +3857,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();
@@ -4226,8 +3869,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
@@ -4241,13 +3882,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;
         }
@@ -4263,8 +3901,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
@@ -4293,8 +3929,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
@@ -4310,8 +3944,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
@@ -4335,8 +3967,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
@@ -4349,38 +3979,27 @@ 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());
         operation_ = null;
       }
       operationCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return insertOrUpdateBuilder_;
     }
 
     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
@@ -4393,7 +4012,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 @@ -4401,8 +4019,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
@@ -4415,7 +4031,6 @@ public boolean hasReplace() {
      * 
* * .google.spanner.v1.Mutation.Write replace = 4; - * * @return The replace. */ @java.lang.Override @@ -4433,8 +4048,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
@@ -4462,8 +4075,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
@@ -4477,7 +4088,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();
@@ -4488,8 +4100,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
@@ -4505,13 +4115,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;
         }
@@ -4527,8 +4134,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
@@ -4559,8 +4164,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
@@ -4578,8 +4181,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
@@ -4605,8 +4206,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
@@ -4621,45 +4220,33 @@ 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());
         operation_ = null;
       }
       operationCase_ = 4;
-      onChanged();
-      ;
+      onChanged();;
       return replaceBuilder_;
     }
 
     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 @@ -4667,15 +4254,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 @@ -4693,8 +4277,6 @@ public com.google.spanner.v1.Mutation.Delete getDelete() { } } /** - * - * *
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4716,8 +4298,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.
@@ -4725,7 +4305,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();
@@ -4736,8 +4317,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.
@@ -4747,13 +4326,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;
         }
@@ -4769,8 +4345,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.
@@ -4795,8 +4369,6 @@ public Builder clearDelete() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4808,8 +4380,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.
@@ -4829,8 +4399,6 @@ public com.google.spanner.v1.Mutation.DeleteOrBuilder getDeleteOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4839,32 +4407,26 @@ 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());
         operation_ = null;
       }
       operationCase_ = 5;
-      onChanged();
-      ;
+      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);
     }
 
@@ -4874,12 +4436,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();
   }
@@ -4888,27 +4450,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;
@@ -4923,4 +4485,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..17483e34320
--- /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\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/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 3e0e48eba2b..f73369e0b97 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.
@@ -124,8 +95,6 @@ public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() {
   public static final int VALUES_FIELD_NUMBER = 2;
   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
@@ -195,8 +164,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
@@ -262,12 +229,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
@@ -337,8 +303,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
@@ -408,8 +372,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
@@ -475,15 +437,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_;
   /**
-   *
-   *
    * 
    * 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
@@ -491,7 +452,6 @@ public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(int index) {
    * 
* * bool chunked_value = 3; - * * @return The chunkedValue. */ @java.lang.Override @@ -502,8 +462,6 @@ public boolean getChunkedValue() { public static final int RESUME_TOKEN_FIELD_NUMBER = 4; private com.google.protobuf.ByteString resumeToken_; /** - * - * *
    * Streaming calls might be interrupted for a variety of reasons, such
    * as TCP connection loss. If this occurs, the stream of results can
@@ -513,7 +471,6 @@ public boolean getChunkedValue() {
    * 
* * bytes resume_token = 4; - * * @return The resumeToken. */ @java.lang.Override @@ -524,8 +481,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
@@ -536,7 +491,6 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * .google.spanner.v1.ResultSetStats stats = 5; - * * @return Whether the stats field is set. */ @java.lang.Override @@ -544,8 +498,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
@@ -556,7 +508,6 @@ public boolean hasStats() {
    * 
* * .google.spanner.v1.ResultSetStats stats = 5; - * * @return The stats. */ @java.lang.Override @@ -564,8 +515,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
@@ -583,7 +532,6 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -595,7 +543,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -621,19 +570,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;
@@ -643,7 +597,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);
@@ -652,14 +606,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;
@@ -681,7 +640,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()) {
@@ -693,104 +653,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
@@ -799,32 +752,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();
@@ -855,9 +809,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
@@ -876,8 +830,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (metadataBuilder_ == null) {
         result.metadata_ = metadata_;
@@ -908,39 +861,38 @@ public com.google.spanner.v1.PartialResultSet buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -970,10 +922,9 @@ public Builder mergeFrom(com.google.spanner.v1.PartialResultSet other) {
             valuesBuilder_ = null;
             values_ = other.values_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            valuesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getValuesFieldBuilder()
-                    : null;
+            valuesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getValuesFieldBuilder() : null;
           } else {
             valuesBuilder_.addAllMessages(other.values_);
           }
@@ -1014,49 +965,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry);
-
-                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();
-
-                break;
-              } // case 24
-            case 34:
-              {
-                resumeToken_ = input.readBytes();
-
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getStatsFieldBuilder().getBuilder(), extensionRegistry);
-
-                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);
+
+              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();
+
+              break;
+            } // case 24
+            case 34: {
+              resumeToken_ = input.readBytes();
+
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getStatsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1066,54 +1017,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 metadataBuilder_ != null || 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. */ 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.
@@ -1135,8 +1072,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.
@@ -1144,7 +1079,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();
         onChanged();
@@ -1155,8 +1091,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.
@@ -1168,9 +1102,7 @@ public Builder mergeMetadata(com.google.spanner.v1.ResultSetMetadata value) {
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.spanner.v1.ResultSetMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.spanner.v1.ResultSetMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1182,8 +1114,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.
@@ -1203,8 +1133,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1213,13 +1141,11 @@ public Builder clearMetadata() {
      * .google.spanner.v1.ResultSetMetadata metadata = 1;
      */
     public com.google.spanner.v1.ResultSetMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1231,14 +1157,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.
@@ -1247,40 +1170,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_ & 0x00000001) != 0)) {
         values_ = new java.util.ArrayList(values_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     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
@@ -1353,8 +1268,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
@@ -1427,8 +1340,6 @@ public int getValuesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1501,8 +1412,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
@@ -1567,7 +1476,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();
@@ -1581,8 +1491,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
@@ -1647,7 +1555,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());
@@ -1658,8 +1567,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
@@ -1738,8 +1645,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
@@ -1804,7 +1709,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();
@@ -1818,8 +1724,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
@@ -1884,7 +1788,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());
@@ -1895,8 +1800,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
@@ -1961,7 +1864,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());
@@ -1972,8 +1876,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
@@ -2038,10 +1940,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);
@@ -2049,8 +1953,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
@@ -2126,8 +2028,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
@@ -2203,8 +2103,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
@@ -2269,12 +2167,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
@@ -2339,16 +2236,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
@@ -2413,7 +2308,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 {
@@ -2421,8 +2317,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
@@ -2488,11 +2382,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
@@ -2557,13 +2450,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
@@ -2628,31 +2520,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_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.protobuf.Value, com.google.protobuf.Value.Builder, com.google.protobuf.ValueOrBuilder>(
+                values_,
+                ((bitField0_ & 0x00000001) != 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
@@ -2660,7 +2548,6 @@ public java.util.List getValuesBuilderList()
      * 
* * bool chunked_value = 3; - * * @return The chunkedValue. */ @java.lang.Override @@ -2668,8 +2555,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
@@ -2677,19 +2562,16 @@ 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; 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
@@ -2697,11 +2579,10 @@ public Builder setChunkedValue(boolean value) {
      * 
* * bool chunked_value = 3; - * * @return This builder for chaining. */ public Builder clearChunkedValue() { - + chunkedValue_ = false; onChanged(); return this; @@ -2709,8 +2590,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
@@ -2720,7 +2599,6 @@ public Builder clearChunkedValue() {
      * 
* * bytes resume_token = 4; - * * @return The resumeToken. */ @java.lang.Override @@ -2728,8 +2606,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
@@ -2739,22 +2615,19 @@ 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(); - } - + throw new NullPointerException(); + } + resumeToken_ = value; 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
@@ -2764,11 +2637,10 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 4; - * * @return This builder for chaining. */ public Builder clearResumeToken() { - + resumeToken_ = getDefaultInstance().getResumeToken(); onChanged(); return this; @@ -2776,13 +2648,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
@@ -2793,15 +2660,12 @@ public Builder clearResumeToken() {
      * 
* * .google.spanner.v1.ResultSetStats stats = 5; - * * @return Whether the stats field is set. */ public boolean hasStats() { return statsBuilder_ != null || stats_ != null; } /** - * - * *
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2812,7 +2676,6 @@ public boolean hasStats() {
      * 
* * .google.spanner.v1.ResultSetStats stats = 5; - * * @return The stats. */ public com.google.spanner.v1.ResultSetStats getStats() { @@ -2823,8 +2686,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
@@ -2850,8 +2711,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
@@ -2863,7 +2722,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();
         onChanged();
@@ -2874,8 +2734,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
@@ -2891,9 +2749,7 @@ public Builder mergeStats(com.google.spanner.v1.ResultSetStats value) {
       if (statsBuilder_ == null) {
         if (stats_ != null) {
           stats_ =
-              com.google.spanner.v1.ResultSetStats.newBuilder(stats_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.spanner.v1.ResultSetStats.newBuilder(stats_).mergeFrom(value).buildPartial();
         } else {
           stats_ = value;
         }
@@ -2905,8 +2761,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
@@ -2930,8 +2784,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
@@ -2944,13 +2796,11 @@ public Builder clearStats() {
      * .google.spanner.v1.ResultSetStats stats = 5;
      */
     public com.google.spanner.v1.ResultSetStats.Builder getStatsBuilder() {
-
+      
       onChanged();
       return getStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2966,12 +2816,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
@@ -2984,24 +2833,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);
     }
 
@@ -3011,12 +2857,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();
   }
@@ -3025,27 +2871,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;
@@ -3060,4 +2906,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 2d16e2cd1ce..ad3a6bbde8f 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_;
   /**
-   *
-   *
    * 
    * 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
@@ -319,39 +296,38 @@ public com.google.spanner.v1.Partition buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -389,19 +365,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                partitionToken_ = input.readBytes();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              partitionToken_ = input.readBytes();
+
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -414,8 +388,6 @@ public Builder mergeFrom(
 
     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
@@ -423,7 +395,6 @@ public Builder mergeFrom(
      * 
* * bytes partition_token = 1; - * * @return The partitionToken. */ @java.lang.Override @@ -431,8 +402,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
@@ -440,22 +409,19 @@ 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(); - } - + throw new NullPointerException(); + } + partitionToken_ = value; onChanged(); return this; } /** - * - * *
      * This token can be passed to Read, StreamingRead, ExecuteSql, or
      * ExecuteStreamingSql requests to restrict the results to those identified by
@@ -463,18 +429,17 @@ public Builder setPartitionToken(com.google.protobuf.ByteString value) {
      * 
* * bytes partition_token = 1; - * * @return This builder for chaining. */ public Builder clearPartitionToken() { - + partitionToken_ = getDefaultInstance().getPartitionToken(); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -484,12 +449,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(); } @@ -498,27 +463,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; @@ -533,4 +498,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 54983c23e59..7ed7f26b8a0 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_;
   /**
-   *
-   *
    * 
    * **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_; /** - * - * *
    * **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();
@@ -326,9 +302,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
@@ -347,8 +323,7 @@ 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);
+      com.google.spanner.v1.PartitionOptions result = new com.google.spanner.v1.PartitionOptions(this);
       result.partitionSizeBytes_ = partitionSizeBytes_;
       result.maxPartitions_ = maxPartitions_;
       onBuilt();
@@ -359,39 +334,38 @@ public com.google.spanner.v1.PartitionOptions buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -432,25 +406,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                partitionSizeBytes_ = input.readInt64();
-
-                break;
-              } // case 8
-            case 16:
-              {
-                maxPartitions_ = input.readInt64();
-
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              partitionSizeBytes_ = input.readInt64();
+
+              break;
+            } // case 8
+            case 16: {
+              maxPartitions_ = input.readInt64();
+
+              break;
+            } // case 16
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -461,10 +432,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private long partitionSizeBytes_;
+    private long partitionSizeBytes_ ;
     /**
-     *
-     *
      * 
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -474,7 +443,6 @@ public Builder mergeFrom(
      * 
* * int64 partition_size_bytes = 1; - * * @return The partitionSizeBytes. */ @java.lang.Override @@ -482,8 +450,6 @@ public long getPartitionSizeBytes() { return partitionSizeBytes_; } /** - * - * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -493,19 +459,16 @@ 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; onChanged(); return this; } /** - * - * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -515,20 +478,17 @@ public Builder setPartitionSizeBytes(long value) {
      * 
* * int64 partition_size_bytes = 1; - * * @return This builder for chaining. */ public Builder clearPartitionSizeBytes() { - + partitionSizeBytes_ = 0L; onChanged(); return this; } - private long maxPartitions_; + private long maxPartitions_ ; /** - * - * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -540,7 +500,6 @@ public Builder clearPartitionSizeBytes() {
      * 
* * int64 max_partitions = 2; - * * @return The maxPartitions. */ @java.lang.Override @@ -548,8 +507,6 @@ public long getMaxPartitions() { return maxPartitions_; } /** - * - * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -561,19 +518,16 @@ 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; onChanged(); return this; } /** - * - * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -585,18 +539,17 @@ public Builder setMaxPartitions(long value) {
      * 
* * int64 max_partitions = 2; - * * @return This builder for chaining. */ public Builder clearMaxPartitions() { - + maxPartitions_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -606,12 +559,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(); } @@ -620,27 +573,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; @@ -655,4 +608,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 dc8be26caf5..323ad389d2b 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,54 +26,49 @@ 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; 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 @@ -100,31 +77,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 { @@ -135,15 +110,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 @@ -151,26 +123,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.
@@ -186,8 +151,6 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
   public static final int SQL_FIELD_NUMBER = 3;
   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
@@ -201,7 +164,6 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ @java.lang.Override @@ -210,15 +172,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
@@ -232,15 +193,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 { @@ -251,8 +213,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
@@ -265,7 +225,6 @@ public com.google.protobuf.ByteString getSqlBytes() {
    * 
* * .google.protobuf.Struct params = 4; - * * @return Whether the params field is set. */ @java.lang.Override @@ -273,8 +232,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
@@ -287,7 +244,6 @@ public boolean hasParams() {
    * 
* * .google.protobuf.Struct params = 4; - * * @return The params. */ @java.lang.Override @@ -295,8 +251,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
@@ -316,26 +270,24 @@ 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());
   }
-
-  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_;
   }
@@ -344,8 +296,6 @@ 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
@@ -358,22 +308,22 @@ 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
@@ -387,12 +337,11 @@ public java.util.Map getParamTypes
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
+
   public java.util.Map getParamTypesMap() {
     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
@@ -406,18 +355,16 @@ public java.util.Map getParamTypes
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
+
   public com.google.spanner.v1.Type getParamTypesOrDefault(
-      java.lang.String key, com.google.spanner.v1.Type defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+      java.lang.String 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
@@ -431,10 +378,10 @@ public 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)) {
@@ -446,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 @@ -461,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.
    * 
@@ -492,7 +429,6 @@ public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuil } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -504,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_); } @@ -517,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()); } @@ -535,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; @@ -564,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; @@ -623,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(); @@ -803,9 +748,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 @@ -824,8 +769,7 @@ 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); + com.google.spanner.v1.PartitionQueryRequest result = new com.google.spanner.v1.PartitionQueryRequest(this); int from_bitField0_ = bitField0_; result.session_ = session_; if (transactionBuilder_ == null) { @@ -854,39 +798,38 @@ public com.google.spanner.v1.PartitionQueryRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -909,7 +852,8 @@ public Builder mergeFrom(com.google.spanner.v1.PartitionQueryRequest other) { if (other.hasParams()) { mergeParams(other.getParams()); } - internalGetMutableParamTypes().mergeFrom(other.internalGetParamTypes()); + internalGetMutableParamTypes().mergeFrom( + other.internalGetParamTypes()); if (other.hasPartitionOptions()) { mergePartitionOptions(other.getPartitionOptions()); } @@ -939,56 +883,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - session_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - sql_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - case 42: - { - com.google.protobuf.MapEntry - paramTypes__ = - input.readMessage( - ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableParamTypes() - .getMutableMap() - .put(paramTypes__.getKey(), paramTypes__.getValue()); - break; - } // case 42 - case 50: - { - input.readMessage( - getPartitionOptionsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + session_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getTransactionFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + sql_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + input.readMessage( + getParamsFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + case 42: { + com.google.protobuf.MapEntry + paramTypes__ = input.readMessage( + ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableParamTypes().getMutableMap().put( + paramTypes__.getKey(), paramTypes__.getValue()); + break; + } // case 42 + case 50: { + input.readMessage( + getPartitionOptionsFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -998,27 +937,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; @@ -1027,23 +961,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 { @@ -1051,67 +982,54 @@ 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) { + public Builder setSession( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + session_ = value; 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() { - + session_ = getDefaultInstance().getSession(); 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) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + session_ = value; onChanged(); return this; @@ -1119,49 +1037,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 transactionBuilder_ != null || 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. */ 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.
@@ -1183,8 +1088,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.
@@ -1204,8 +1107,6 @@ public Builder setTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1217,9 +1118,7 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
       if (transactionBuilder_ == null) {
         if (transaction_ != null) {
           transaction_ =
-              com.google.spanner.v1.TransactionSelector.newBuilder(transaction_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.spanner.v1.TransactionSelector.newBuilder(transaction_).mergeFrom(value).buildPartial();
         } else {
           transaction_ = value;
         }
@@ -1231,8 +1130,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.
@@ -1252,8 +1149,6 @@ public Builder clearTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1262,13 +1157,11 @@ public Builder clearTransaction() {
      * .google.spanner.v1.TransactionSelector transaction = 2;
      */
     public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder() {
-
+      
       onChanged();
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1280,14 +1173,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.
@@ -1296,17 +1186,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_;
@@ -1314,8 +1201,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
@@ -1329,13 +1214,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; @@ -1344,8 +1229,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
@@ -1359,14 +1242,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 { @@ -1374,8 +1258,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
@@ -1389,22 +1271,20 @@ 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) { + public Builder setSql( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sql_ = value; 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
@@ -1418,18 +1298,15 @@ public Builder setSql(java.lang.String value) {
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSql() { - + sql_ = getDefaultInstance().getSql(); 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
@@ -1443,16 +1320,16 @@ 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) { + public Builder setSqlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sql_ = value; onChanged(); return this; @@ -1460,13 +1337,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
@@ -1479,15 +1351,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 paramsBuilder_ != null || params_ != null; } /** - * - * *
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -1500,7 +1369,6 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 4; - * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -1511,8 +1379,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
@@ -1540,8 +1406,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
@@ -1555,7 +1419,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();
         onChanged();
@@ -1566,8 +1431,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
@@ -1584,7 +1447,8 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
     public Builder mergeParams(com.google.protobuf.Struct value) {
       if (paramsBuilder_ == null) {
         if (params_ != null) {
-          params_ = com.google.protobuf.Struct.newBuilder(params_).mergeFrom(value).buildPartial();
+          params_ =
+            com.google.protobuf.Struct.newBuilder(params_).mergeFrom(value).buildPartial();
         } else {
           params_ = value;
         }
@@ -1596,8 +1460,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
@@ -1623,8 +1485,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
@@ -1639,13 +1499,11 @@ public Builder clearParams() {
      * .google.protobuf.Struct params = 4;
      */
     public com.google.protobuf.Struct.Builder getParamsBuilder() {
-
+      
       onChanged();
       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
@@ -1663,12 +1521,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
@@ -1683,40 +1540,35 @@ 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() {
+    internalGetParamTypes() {
       if (paramTypes_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             ParamTypesDefaultEntryHolder.defaultEntry);
       }
       return paramTypes_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableParamTypes() {
-      onChanged();
-      ;
+    internalGetMutableParamTypes() {
+      onChanged();;
       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();
@@ -1728,8 +1580,6 @@ 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
@@ -1742,22 +1592,22 @@ 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
@@ -1771,12 +1621,11 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
+
     public java.util.Map getParamTypesMap() {
       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
@@ -1790,18 +1639,16 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
+
     public com.google.spanner.v1.Type getParamTypesOrDefault(
-        java.lang.String key, com.google.spanner.v1.Type defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String 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
@@ -1815,10 +1662,10 @@ public 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)) {
@@ -1828,12 +1675,11 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
     }
 
     public Builder clearParamTypes() {
-      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
@@ -1846,21 +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() {
       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
@@ -1873,20 +1721,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableParamTypes().getMutableMap().put(key, value);
+      internalGetMutableParamTypes().getMutableMap()
+          .put(key, value);
       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
@@ -1899,55 +1746,44 @@ public Builder putParamTypes(java.lang.String key, com.google.spanner.v1.Type va
      *
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
+
     public Builder putAllParamTypes(
         java.util.Map values) {
-      internalGetMutableParamTypes().getMutableMap().putAll(values);
+      internalGetMutableParamTypes().getMutableMap()
+          .putAll(values);
       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 partitionOptionsBuilder_ != null || partitionOptions_ != null; } /** - * - * *
      * 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.
      * 
@@ -1968,8 +1804,6 @@ public Builder setPartitionOptions(com.google.spanner.v1.PartitionOptions value) return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1988,8 +1822,6 @@ public Builder setPartitionOptions( return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2000,9 +1832,7 @@ public Builder mergePartitionOptions(com.google.spanner.v1.PartitionOptions valu if (partitionOptionsBuilder_ == null) { if (partitionOptions_ != null) { partitionOptions_ = - com.google.spanner.v1.PartitionOptions.newBuilder(partitionOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.v1.PartitionOptions.newBuilder(partitionOptions_).mergeFrom(value).buildPartial(); } else { partitionOptions_ = value; } @@ -2014,8 +1844,6 @@ public Builder mergePartitionOptions(com.google.spanner.v1.PartitionOptions valu return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2034,8 +1862,6 @@ public Builder clearPartitionOptions() { return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2043,13 +1869,11 @@ public Builder clearPartitionOptions() { * .google.spanner.v1.PartitionOptions partition_options = 6; */ public com.google.spanner.v1.PartitionOptions.Builder getPartitionOptionsBuilder() { - + onChanged(); return getPartitionOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2060,14 +1884,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.
      * 
@@ -2075,24 +1896,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); } @@ -2102,12 +1920,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(); } @@ -2116,27 +1934,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; @@ -2151,4 +1969,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 55f3a659ad0..dea68a3327e 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
@@ -255,13 +206,11 @@ public interface PartitionQueryRequestOrBuilder
    */
 
   /* 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
@@ -274,35 +223,29 @@ 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 76% 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 18e41fd19e2..9b25eb2bf3d 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,43 +28,37 @@ 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; 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 @@ -91,31 +67,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 { @@ -126,15 +100,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 @@ -142,26 +113,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.
@@ -177,14 +141,11 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
   public static final int TABLE_FIELD_NUMBER = 3;
   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 @@ -193,29 +154,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 { @@ -226,8 +187,6 @@ public com.google.protobuf.ByteString getTableBytes() { public static final int INDEX_FIELD_NUMBER = 4; 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]
@@ -235,7 +194,6 @@ public com.google.protobuf.ByteString getTableBytes() {
    * 
* * string index = 4; - * * @return The index. */ @java.lang.Override @@ -244,15 +202,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]
@@ -260,15 +217,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 { @@ -279,45 +237,37 @@ public com.google.protobuf.ByteString getIndexBytes() { public static final int COLUMNS_FIELD_NUMBER = 5; 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. */ @@ -325,27 +275,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]
@@ -356,7 +302,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 @@ -364,8 +309,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]
@@ -376,7 +319,6 @@ public boolean hasKeySet() {
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keySet. */ @java.lang.Override @@ -384,8 +326,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]
@@ -405,14 +345,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 @@ -420,25 +357,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.
    * 
@@ -451,7 +381,6 @@ public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuil } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -463,7 +392,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -498,7 +428,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_); @@ -515,10 +446,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; @@ -528,29 +461,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; @@ -590,136 +529,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(); @@ -753,9 +686,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 @@ -774,8 +707,7 @@ 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); int from_bitField0_ = bitField0_; result.session_ = session_; if (transactionBuilder_ == null) { @@ -808,39 +740,38 @@ public com.google.spanner.v1.PartitionReadRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -906,57 +837,54 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - session_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - table_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - index_ = input.readStringRequireUtf8(); - - 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); - - break; - } // case 50 - case 74: - { - input.readMessage( - getPartitionOptionsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + session_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getTransactionFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + table_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + index_ = input.readStringRequireUtf8(); + + 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); + + break; + } // case 50 + case 74: { + input.readMessage( + getPartitionOptionsFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 74 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -966,27 +894,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; @@ -995,23 +918,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 { @@ -1019,67 +939,54 @@ 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) { + public Builder setSession( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + session_ = value; 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() { - + session_ = getDefaultInstance().getSession(); 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) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + session_ = value; onChanged(); return this; @@ -1087,49 +994,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 transactionBuilder_ != null || 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. */ 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.
@@ -1151,8 +1045,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.
@@ -1172,8 +1064,6 @@ public Builder setTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1185,9 +1075,7 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
       if (transactionBuilder_ == null) {
         if (transaction_ != null) {
           transaction_ =
-              com.google.spanner.v1.TransactionSelector.newBuilder(transaction_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.spanner.v1.TransactionSelector.newBuilder(transaction_).mergeFrom(value).buildPartial();
         } else {
           transaction_ = value;
         }
@@ -1199,8 +1087,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.
@@ -1220,8 +1106,6 @@ public Builder clearTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1230,13 +1114,11 @@ public Builder clearTransaction() {
      * .google.spanner.v1.TransactionSelector transaction = 2;
      */
     public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder() {
-
+      
       onChanged();
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1248,14 +1130,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.
@@ -1264,17 +1143,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_;
@@ -1282,20 +1158,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; @@ -1304,21 +1178,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 { @@ -1326,61 +1199,54 @@ 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) { + public Builder setTable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; 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() { - + table_ = getDefaultInstance().getTable(); onChanged(); 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) { + public Builder setTableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); return this; @@ -1388,8 +1254,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]
@@ -1397,13 +1261,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; @@ -1412,8 +1276,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]
@@ -1421,14 +1283,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 { @@ -1436,8 +1299,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]
@@ -1445,22 +1306,20 @@ 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) { + public Builder setIndex( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + index_ = value; 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]
@@ -1468,18 +1327,15 @@ public Builder setIndex(java.lang.String value) {
      * 
* * string index = 4; - * * @return This builder for chaining. */ public Builder clearIndex() { - + index_ = getDefaultInstance().getIndex(); 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]
@@ -1487,70 +1343,60 @@ 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) { + public Builder setIndexBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + index_ = value; onChanged(); 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_ & 0x00000001) != 0)) { columns_ = new com.google.protobuf.LazyStringArrayList(columns_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * 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. */ @@ -1558,95 +1404,85 @@ 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) { + public Builder setColumns( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); + 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) { + public Builder addColumns( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); + 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() { @@ -1656,23 +1492,21 @@ 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) { + public Builder addColumnsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureColumnsIsMutable(); columns_.add(value); onChanged(); @@ -1681,13 +1515,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]
@@ -1698,15 +1527,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 keySetBuilder_ != null || 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]
@@ -1717,7 +1543,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() { @@ -1728,8 +1553,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]
@@ -1755,8 +1578,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]
@@ -1768,7 +1589,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();
         onChanged();
@@ -1779,8 +1601,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]
@@ -1796,7 +1616,7 @@ public Builder mergeKeySet(com.google.spanner.v1.KeySet value) {
       if (keySetBuilder_ == null) {
         if (keySet_ != null) {
           keySet_ =
-              com.google.spanner.v1.KeySet.newBuilder(keySet_).mergeFrom(value).buildPartial();
+            com.google.spanner.v1.KeySet.newBuilder(keySet_).mergeFrom(value).buildPartial();
         } else {
           keySet_ = value;
         }
@@ -1808,8 +1628,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]
@@ -1833,8 +1651,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]
@@ -1847,13 +1663,11 @@ public Builder clearKeySet() {
      * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.spanner.v1.KeySet.Builder getKeySetBuilder() {
-
+      
       onChanged();
       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]
@@ -1869,12 +1683,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]
@@ -1887,17 +1700,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_;
@@ -1905,47 +1715,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 partitionOptionsBuilder_ != null || partitionOptions_ != null; } /** - * - * *
      * 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.
      * 
@@ -1966,8 +1763,6 @@ public Builder setPartitionOptions(com.google.spanner.v1.PartitionOptions value) return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1986,8 +1781,6 @@ public Builder setPartitionOptions( return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1998,9 +1791,7 @@ public Builder mergePartitionOptions(com.google.spanner.v1.PartitionOptions valu if (partitionOptionsBuilder_ == null) { if (partitionOptions_ != null) { partitionOptions_ = - com.google.spanner.v1.PartitionOptions.newBuilder(partitionOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.v1.PartitionOptions.newBuilder(partitionOptions_).mergeFrom(value).buildPartial(); } else { partitionOptions_ = value; } @@ -2012,8 +1803,6 @@ public Builder mergePartitionOptions(com.google.spanner.v1.PartitionOptions valu return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2032,8 +1821,6 @@ public Builder clearPartitionOptions() { return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2041,13 +1828,11 @@ public Builder clearPartitionOptions() { * .google.spanner.v1.PartitionOptions partition_options = 9; */ public com.google.spanner.v1.PartitionOptions.Builder getPartitionOptionsBuilder() { - + onChanged(); return getPartitionOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2058,14 +1843,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.
      * 
@@ -2073,24 +1855,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); } @@ -2100,12 +1879,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(); } @@ -2114,27 +1893,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; @@ -2149,4 +1928,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 72% 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 d9e2266700b..295d13fd61f 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,51 +11,47 @@
  *
  * 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;
   private java.util.List partitions_;
   /**
-   *
-   *
    * 
    * Partitions created by this request.
    * 
@@ -84,8 +63,6 @@ public java.util.List getPartitionsList() { return partitions_; } /** - * - * *
    * Partitions created by this request.
    * 
@@ -93,13 +70,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.
    * 
@@ -111,8 +86,6 @@ public int getPartitionsCount() { return partitions_.size(); } /** - * - * *
    * Partitions created by this request.
    * 
@@ -124,8 +97,6 @@ public com.google.spanner.v1.Partition getPartitions(int index) { return partitions_.get(index); } /** - * - * *
    * Partitions created by this request.
    * 
@@ -133,21 +104,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 @@ -155,25 +124,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.
    * 
@@ -186,7 +148,6 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -198,7 +159,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < partitions_.size(); i++) { output.writeMessage(1, partitions_.get(i)); } @@ -215,10 +177,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; @@ -228,17 +192,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; @@ -264,104 +230,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]
@@ -369,32 +328,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();
@@ -415,9 +375,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
@@ -436,8 +396,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (partitionsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -461,39 +420,38 @@ public com.google.spanner.v1.PartitionResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -520,10 +478,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_);
           }
@@ -558,31 +515,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);
+            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);
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -592,28 +550,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.
      * 
@@ -628,8 +579,6 @@ public java.util.List getPartitionsList() { } } /** - * - * *
      * Partitions created by this request.
      * 
@@ -644,8 +593,6 @@ public int getPartitionsCount() { } } /** - * - * *
      * Partitions created by this request.
      * 
@@ -660,15 +607,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(); @@ -682,8 +628,6 @@ public Builder setPartitions(int index, com.google.spanner.v1.Partition value) { return this; } /** - * - * *
      * Partitions created by this request.
      * 
@@ -702,8 +646,6 @@ public Builder setPartitions( return this; } /** - * - * *
      * Partitions created by this request.
      * 
@@ -724,15 +666,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(); @@ -746,15 +687,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()); @@ -765,8 +705,6 @@ public Builder addPartitions(com.google.spanner.v1.Partition.Builder builderForV return this; } /** - * - * *
      * Partitions created by this request.
      * 
@@ -785,8 +723,6 @@ public Builder addPartitions( return this; } /** - * - * *
      * Partitions created by this request.
      * 
@@ -797,7 +733,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); @@ -805,8 +742,6 @@ public Builder addAllPartitions( return this; } /** - * - * *
      * Partitions created by this request.
      * 
@@ -824,8 +759,6 @@ public Builder clearPartitions() { return this; } /** - * - * *
      * Partitions created by this request.
      * 
@@ -843,44 +776,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 { @@ -888,8 +816,6 @@ public com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder(int index } } /** - * - * *
      * Partitions created by this request.
      * 
@@ -897,47 +823,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_; @@ -945,47 +866,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 transactionBuilder_ != null || transaction_ != null; } /** - * - * *
      * 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.
      * 
@@ -1006,15 +914,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(); onChanged(); @@ -1025,8 +932,6 @@ public Builder setTransaction(com.google.spanner.v1.Transaction.Builder builderF return this; } /** - * - * *
      * Transaction created by this request.
      * 
@@ -1037,9 +942,7 @@ public Builder mergeTransaction(com.google.spanner.v1.Transaction value) { if (transactionBuilder_ == null) { if (transaction_ != null) { transaction_ = - com.google.spanner.v1.Transaction.newBuilder(transaction_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.v1.Transaction.newBuilder(transaction_).mergeFrom(value).buildPartial(); } else { transaction_ = value; } @@ -1051,8 +954,6 @@ public Builder mergeTransaction(com.google.spanner.v1.Transaction value) { return this; } /** - * - * *
      * Transaction created by this request.
      * 
@@ -1071,8 +972,6 @@ public Builder clearTransaction() { return this; } /** - * - * *
      * Transaction created by this request.
      * 
@@ -1080,13 +979,11 @@ public Builder clearTransaction() { * .google.spanner.v1.Transaction transaction = 2; */ public com.google.spanner.v1.Transaction.Builder getTransactionBuilder() { - + onChanged(); return getTransactionFieldBuilder().getBuilder(); } /** - * - * *
      * Transaction created by this request.
      * 
@@ -1097,14 +994,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.
      * 
@@ -1112,24 +1006,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); } @@ -1139,12 +1030,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(); } @@ -1153,27 +1044,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; @@ -1188,4 +1079,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 e0637602c77..66a666f0677 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_;
     /**
-     *
-     *
      * 
      * The node to which the link points.
      * 
* * int32 child_index = 1; - * * @return The childIndex. */ @java.lang.Override @@ -396,8 +345,6 @@ public int getChildIndex() { public static final int TYPE_FIELD_NUMBER = 2; 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
@@ -406,7 +353,6 @@ public int getChildIndex() {
      * 
* * string type = 2; - * * @return The type. */ @java.lang.Override @@ -415,15 +361,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
@@ -432,15 +377,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,8 +397,6 @@ public com.google.protobuf.ByteString getTypeBytes() { public static final int VARIABLE_FIELD_NUMBER = 3; 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
@@ -465,7 +409,6 @@ public com.google.protobuf.ByteString getTypeBytes() {
      * 
* * string variable = 3; - * * @return The variable. */ @java.lang.Override @@ -474,15 +417,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
@@ -495,15 +437,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 { @@ -512,7 +455,6 @@ public com.google.protobuf.ByteString getVariableBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -524,7 +466,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -544,7 +487,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_); @@ -560,17 +504,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; } @@ -593,94 +539,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 @@ -690,8 +630,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Metadata associated with a parent-child relationship appearing in a
      * [PlanNode][google.spanner.v1.PlanNode].
@@ -699,33 +637,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();
@@ -739,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
@@ -760,8 +698,7 @@ 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);
+        com.google.spanner.v1.PlanNode.ChildLink result = new com.google.spanner.v1.PlanNode.ChildLink(this);
         result.childIndex_ = childIndex_;
         result.type_ = type_;
         result.variable_ = variable_;
@@ -773,41 +710,38 @@ public com.google.spanner.v1.PlanNode.ChildLink 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.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;
@@ -853,31 +787,27 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  childIndex_ = input.readInt32();
-
-                  break;
-                } // case 8
-              case 18:
-                {
-                  type_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 18
-              case 26:
-                {
-                  variable_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 26
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                childIndex_ = input.readInt32();
+
+                break;
+              } // case 8
+              case 18: {
+                type_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+              case 26: {
+                variable_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -888,16 +818,13 @@ public Builder mergeFrom(
         return this;
       }
 
-      private int childIndex_;
+      private int childIndex_ ;
       /**
-       *
-       *
        * 
        * The node to which the link points.
        * 
* * int32 child_index = 1; - * * @return The childIndex. */ @java.lang.Override @@ -905,36 +832,30 @@ 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; onChanged(); return this; } /** - * - * *
        * The node to which the link points.
        * 
* * int32 child_index = 1; - * * @return This builder for chaining. */ public Builder clearChildIndex() { - + childIndex_ = 0; onChanged(); return this; @@ -942,8 +863,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
@@ -952,13 +871,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; @@ -967,8 +886,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
@@ -977,14 +894,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 { @@ -992,8 +910,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
@@ -1002,22 +918,20 @@ 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) { + public Builder setType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; 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
@@ -1026,18 +940,15 @@ public Builder setType(java.lang.String value) {
        * 
* * string type = 2; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); 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,16 +957,16 @@ 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) { + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -1063,8 +974,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
@@ -1077,13 +986,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; @@ -1092,8 +1001,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
@@ -1106,14 +1013,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 { @@ -1121,8 +1029,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
@@ -1135,22 +1041,20 @@ 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) { + public Builder setVariable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + variable_ = value; 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
@@ -1163,18 +1067,15 @@ public Builder setVariable(java.lang.String value) {
        * 
* * string variable = 3; - * * @return This builder for chaining. */ public Builder clearVariable() { - + variable_ = getDefaultInstance().getVariable(); 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
@@ -1187,21 +1088,20 @@ 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) { + public Builder setVariableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + variable_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1214,12 +1114,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(); } @@ -1228,28 +1128,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; @@ -1264,41 +1163,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`
@@ -1311,8 +1203,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`
@@ -1323,13 +1213,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`
@@ -1340,10 +1232,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`
@@ -1354,10 +1245,11 @@ 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`
@@ -1368,11 +1260,11 @@ 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].
@@ -1380,68 +1272,64 @@ 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;
     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 @@ -1450,29 +1338,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 { @@ -1481,22 +1369,21 @@ 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); - } - - private com.google.protobuf.MapField subqueries_; - + 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); + } + 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); @@ -1508,8 +1395,6 @@ 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`
@@ -1520,22 +1405,22 @@ 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`
@@ -1547,12 +1432,11 @@ public java.util.Map getSubqueries() {
      * map<string, int32> subqueries = 2;
      */
     @java.lang.Override
+
     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`
@@ -1564,16 +1448,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`
@@ -1585,11 +1469,12 @@ 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();
       }
@@ -1597,7 +1482,6 @@ public int getSubqueriesOrThrow(java.lang.String key) {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1609,12 +1493,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);
     }
 
@@ -1627,15 +1516,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;
@@ -1645,16 +1534,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;
     }
@@ -1678,93 +1568,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
@@ -1774,8 +1658,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Condensed representation of a node and its subtree. Only present for
      * `SCALAR` [PlanNode(s)][google.spanner.v1.PlanNode].
@@ -1783,53 +1665,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();
@@ -1840,9 +1724,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
@@ -1861,8 +1745,7 @@ 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);
+        com.google.spanner.v1.PlanNode.ShortRepresentation result = new com.google.spanner.v1.PlanNode.ShortRepresentation(this);
         int from_bitField0_ = bitField0_;
         result.description_ = description_;
         result.subqueries_ = internalGetSubqueries();
@@ -1875,41 +1758,38 @@ public com.google.spanner.v1.PlanNode.ShortRepresentation 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.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;
@@ -1917,13 +1797,13 @@ 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_;
           onChanged();
         }
-        internalGetMutableSubqueries().mergeFrom(other.internalGetSubqueries());
+        internalGetMutableSubqueries().mergeFrom(
+            other.internalGetSubqueries());
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
         return this;
@@ -1950,30 +1830,25 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  description_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 10
-              case 18:
-                {
-                  com.google.protobuf.MapEntry subqueries__ =
-                      input.readMessage(
-                          SubqueriesDefaultEntryHolder.defaultEntry.getParserForType(),
-                          extensionRegistry);
-                  internalGetMutableSubqueries()
-                      .getMutableMap()
-                      .put(subqueries__.getKey(), subqueries__.getValue());
-                  break;
-                } // case 18
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                description_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+              case 18: {
+                com.google.protobuf.MapEntry
+                subqueries__ = input.readMessage(
+                    SubqueriesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+                internalGetMutableSubqueries().getMutableMap().put(
+                    subqueries__.getKey(), subqueries__.getValue());
+                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) {
@@ -1983,25 +1858,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; @@ -2010,21 +1882,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 { @@ -2032,84 +1903,75 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); onChanged(); 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.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_; } - private com.google.protobuf.MapField - internalGetMutableSubqueries() { - onChanged(); - ; + internalGetMutableSubqueries() { + onChanged();; 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(); @@ -2121,8 +1983,6 @@ 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`
@@ -2133,22 +1993,22 @@ 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`
@@ -2160,12 +2020,11 @@ public java.util.Map getSubqueries() {
        * map<string, int32> subqueries = 2;
        */
       @java.lang.Override
+
       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`
@@ -2177,16 +2036,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`
@@ -2198,11 +2057,12 @@ 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();
         }
@@ -2210,12 +2070,11 @@ public int getSubqueriesOrThrow(java.lang.String key) {
       }
 
       public Builder clearSubqueries() {
-        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`
@@ -2226,21 +2085,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() {
         return internalGetMutableSubqueries().getMutableMap();
       }
       /**
-       *
-       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2251,17 +2112,16 @@ 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);
         return this;
       }
       /**
-       *
-       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2272,11 +2132,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);
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2289,12 +2151,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();
     }
@@ -2303,28 +2165,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;
@@ -2339,19 +2200,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_;
   /**
-   *
-   *
    * 
    * The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].
    * 
* * int32 index = 1; - * * @return The index. */ @java.lang.Override @@ -2362,8 +2221,6 @@ public int getIndex() { public static final int KIND_FIELD_NUMBER = 2; private int 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
@@ -2373,16 +2230,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
@@ -2392,11 +2245,9 @@ public int getKindValue() {
    * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; - * * @return The kind. */ - @java.lang.Override - public com.google.spanner.v1.PlanNode.Kind getKind() { + @java.lang.Override public com.google.spanner.v1.PlanNode.Kind getKind() { @SuppressWarnings("deprecation") com.google.spanner.v1.PlanNode.Kind result = com.google.spanner.v1.PlanNode.Kind.valueOf(kind_); return result == null ? com.google.spanner.v1.PlanNode.Kind.UNRECOGNIZED : result; @@ -2405,14 +2256,11 @@ public com.google.spanner.v1.PlanNode.Kind getKind() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object displayName_; /** - * - * *
    * The display name for the node.
    * 
* * string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -2421,29 +2269,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 { @@ -2454,8 +2302,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CHILD_LINKS_FIELD_NUMBER = 4; private java.util.List childLinks_; /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2467,8 +2313,6 @@ public java.util.List getChildLinksLis return childLinks_; } /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2476,13 +2320,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.
    * 
@@ -2494,8 +2336,6 @@ public int getChildLinksCount() { return childLinks_.size(); } /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2507,8 +2347,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.
    * 
@@ -2516,21 +2354,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 @@ -2538,25 +2374,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.
    * 
@@ -2564,16 +2393,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() { + public com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder getShortRepresentationOrBuilder() { return getShortRepresentation(); } 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
@@ -2585,7 +2411,6 @@ public com.google.spanner.v1.PlanNode.ShortRepresentation getShortRepresentation
    * 
* * .google.protobuf.Struct metadata = 6; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -2593,8 +2418,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
@@ -2606,7 +2429,6 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 6; - * * @return The metadata. */ @java.lang.Override @@ -2614,8 +2436,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
@@ -2636,8 +2456,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
@@ -2646,7 +2464,6 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
    * 
* * .google.protobuf.Struct execution_stats = 7; - * * @return Whether the executionStats field is set. */ @java.lang.Override @@ -2654,8 +2471,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
@@ -2664,18 +2479,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
@@ -2691,7 +2501,6 @@ public com.google.protobuf.StructOrBuilder getExecutionStatsOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2703,7 +2512,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_);
     }
@@ -2735,25 +2545,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;
@@ -2763,28 +2579,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;
@@ -2824,134 +2646,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(); @@ -2990,9 +2808,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 @@ -3048,39 +2866,38 @@ public com.google.spanner.v1.PlanNode buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -3117,10 +2934,9 @@ public Builder mergeFrom(com.google.spanner.v1.PlanNode other) { childLinksBuilder_ = null; childLinks_ = other.childLinks_; bitField0_ = (bitField0_ & ~0x00000001); - childLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getChildLinksFieldBuilder() - : null; + childLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChildLinksFieldBuilder() : null; } else { childLinksBuilder_.addAllMessages(other.childLinks_); } @@ -3161,63 +2977,61 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - index_ = input.readInt32(); + case 8: { + index_ = input.readInt32(); - break; - } // case 8 - case 16: - { - kind_ = input.readEnum(); + break; + } // case 8 + case 16: { + kind_ = input.readEnum(); - break; - } // case 16 - case 26: - { - displayName_ = input.readStringRequireUtf8(); + break; + } // case 16 + case 26: { + displayName_ = input.readStringRequireUtf8(); - 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); + 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); - break; - } // case 42 - case 50: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 42 + case 50: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 50 - case 58: - { - input.readMessage(getExecutionStatsFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 50 + case 58: { + input.readMessage( + getExecutionStatsFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -3227,19 +3041,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 @@ -3247,36 +3057,30 @@ 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; 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() { - + index_ = 0; onChanged(); return this; @@ -3284,8 +3088,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
@@ -3295,16 +3097,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
@@ -3314,19 +3112,16 @@ 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. */ public Builder setKindValue(int value) { - + kind_ = value; onChanged(); 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
@@ -3336,19 +3131,15 @@ 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() { @SuppressWarnings("deprecation") - com.google.spanner.v1.PlanNode.Kind result = - com.google.spanner.v1.PlanNode.Kind.valueOf(kind_); + com.google.spanner.v1.PlanNode.Kind result = com.google.spanner.v1.PlanNode.Kind.valueOf(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
@@ -3358,7 +3149,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. */ @@ -3366,14 +3156,12 @@ public Builder setKind(com.google.spanner.v1.PlanNode.Kind value) { if (value == null) { throw new NullPointerException(); } - + kind_ = value.getNumber(); onChanged(); 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
@@ -3383,11 +3171,10 @@ 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() { - + kind_ = 0; onChanged(); return this; @@ -3395,20 +3182,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; @@ -3417,21 +3202,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 { @@ -3439,86 +3223,72 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The display name for the node.
      * 
* * string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private java.util.List childLinks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureChildLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - childLinks_ = - new java.util.ArrayList(childLinks_); + childLinks_ = new java.util.ArrayList(childLinks_); bitField0_ |= 0x00000001; - } + } } 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.
      * 
@@ -3533,8 +3303,6 @@ public java.util.List getChildLinksLis } } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3549,8 +3317,6 @@ public int getChildLinksCount() { } } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3565,15 +3331,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(); @@ -3587,8 +3352,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.
      * 
@@ -3607,8 +3370,6 @@ public Builder setChildLinks( return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3629,15 +3390,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(); @@ -3651,15 +3411,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()); @@ -3670,8 +3429,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.
      * 
@@ -3690,8 +3447,6 @@ public Builder addChildLinks( return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3702,7 +3457,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); @@ -3710,8 +3466,6 @@ public Builder addAllChildLinks( return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3729,8 +3483,6 @@ public Builder clearChildLinks() { return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3748,44 +3500,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 { @@ -3793,8 +3540,6 @@ public com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder( } } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3802,48 +3547,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_ & 0x00000001) != 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_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); childLinks_ = null; } return childLinksBuilder_; @@ -3851,55 +3590,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 shortRepresentationBuilder_ != null || shortRepresentation_ != null; } /** - * - * *
      * 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(); @@ -3913,8 +3638,6 @@ public Builder setShortRepresentation( return this; } /** - * - * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
@@ -3933,22 +3656,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 (shortRepresentation_ != null) { shortRepresentation_ = - com.google.spanner.v1.PlanNode.ShortRepresentation.newBuilder(shortRepresentation_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.v1.PlanNode.ShortRepresentation.newBuilder(shortRepresentation_).mergeFrom(value).buildPartial(); } else { shortRepresentation_ = value; } @@ -3960,8 +3678,6 @@ public Builder mergeShortRepresentation( return this; } /** - * - * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
@@ -3980,42 +3696,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() { + 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.
      * 
@@ -4023,17 +3730,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_; @@ -4041,13 +3745,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
@@ -4059,15 +3758,12 @@ public Builder clearShortRepresentation() {
      * 
* * .google.protobuf.Struct metadata = 6; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || 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
@@ -4079,7 +3775,6 @@ public boolean hasMetadata() {
      * 
* * .google.protobuf.Struct metadata = 6; - * * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -4090,8 +3785,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
@@ -4118,8 +3811,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
@@ -4132,7 +3823,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();
         onChanged();
@@ -4143,8 +3835,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
@@ -4161,7 +3851,7 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -4173,8 +3863,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
@@ -4199,8 +3887,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
@@ -4214,13 +3900,11 @@ public Builder clearMetadata() {
      * .google.protobuf.Struct metadata = 6;
      */
     public com.google.protobuf.Struct.Builder getMetadataBuilder() {
-
+      
       onChanged();
       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
@@ -4237,12 +3921,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
@@ -4256,17 +3939,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_;
@@ -4274,13 +3954,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
@@ -4289,15 +3964,12 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * 
* * .google.protobuf.Struct execution_stats = 7; - * * @return Whether the executionStats field is set. */ public boolean hasExecutionStats() { return executionStatsBuilder_ != null || 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
@@ -4306,21 +3978,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
@@ -4344,8 +4011,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
@@ -4355,7 +4020,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();
         onChanged();
@@ -4366,8 +4032,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
@@ -4381,9 +4045,7 @@ public Builder mergeExecutionStats(com.google.protobuf.Struct value) {
       if (executionStatsBuilder_ == null) {
         if (executionStats_ != null) {
           executionStats_ =
-              com.google.protobuf.Struct.newBuilder(executionStats_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Struct.newBuilder(executionStats_).mergeFrom(value).buildPartial();
         } else {
           executionStats_ = value;
         }
@@ -4395,8 +4057,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
@@ -4418,8 +4078,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
@@ -4430,13 +4088,11 @@ public Builder clearExecutionStats() {
      * .google.protobuf.Struct execution_stats = 7;
      */
     public com.google.protobuf.Struct.Builder getExecutionStatsBuilder() {
-
+      
       onChanged();
       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
@@ -4450,14 +4106,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
@@ -4468,24 +4121,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);
     }
 
@@ -4495,12 +4145,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();
   }
@@ -4509,27 +4159,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;
@@ -4544,4 +4194,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 91c6c4d4858..6afc831aca8 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,67 +1,49 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the 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); } @@ -69,8 +51,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int PLAN_NODES_FIELD_NUMBER = 1; 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
@@ -84,8 +64,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
@@ -95,13 +73,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
@@ -115,8 +91,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
@@ -130,8 +104,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
@@ -141,12 +113,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;
@@ -158,7 +130,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < planNodes_.size(); i++) {
       output.writeMessage(1, planNodes_.get(i));
     }
@@ -172,7 +145,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;
@@ -182,14 +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.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;
   }
@@ -210,134 +185,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(); @@ -352,9 +323,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 @@ -392,39 +363,38 @@ public com.google.spanner.v1.QueryPlan buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -451,10 +421,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_); } @@ -486,25 +455,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) { @@ -514,28 +483,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
@@ -552,8 +514,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
@@ -570,8 +530,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
@@ -588,8 +546,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
@@ -598,7 +554,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();
@@ -612,8 +569,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
@@ -622,7 +577,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());
@@ -633,8 +589,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
@@ -657,8 +611,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
@@ -667,7 +619,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();
@@ -681,8 +634,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
@@ -691,7 +642,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());
@@ -702,8 +654,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
@@ -712,7 +662,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());
@@ -723,8 +674,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
@@ -737,7 +686,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);
@@ -745,8 +695,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
@@ -766,8 +714,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
@@ -787,8 +733,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
@@ -797,12 +741,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
@@ -811,16 +754,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
@@ -829,8 +770,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 {
@@ -838,8 +779,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
@@ -849,12 +788,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
@@ -863,13 +800,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
@@ -878,29 +814,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);
     }
 
@@ -910,12 +844,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();
   }
@@ -924,27 +858,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;
@@ -959,4 +893,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..62dded35d5a
--- /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\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/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 65467a333a6..987fda05816 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,43 +31,37 @@ 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;
   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 @@ -94,31 +70,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 { @@ -129,15 +103,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 @@ -145,26 +116,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.
@@ -180,14 +144,11 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
   public static final int TABLE_FIELD_NUMBER = 3;
   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 @@ -196,29 +157,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 { @@ -229,8 +190,6 @@ public com.google.protobuf.ByteString getTableBytes() { public static final int INDEX_FIELD_NUMBER = 4; 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]
@@ -238,7 +197,6 @@ public com.google.protobuf.ByteString getTableBytes() {
    * 
* * string index = 4; - * * @return The index. */ @java.lang.Override @@ -247,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.ReadRequest.table]. This index is
    * used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set]
@@ -263,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 { @@ -282,45 +240,37 @@ public com.google.protobuf.ByteString getIndexBytes() { public static final int COLUMNS_FIELD_NUMBER = 5; 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. */ @@ -328,27 +278,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]
@@ -363,7 +309,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 @@ -371,8 +316,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]
@@ -387,7 +330,6 @@ public boolean hasKeySet() {
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keySet. */ @java.lang.Override @@ -395,8 +337,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]
@@ -420,8 +360,6 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
   public static final int LIMIT_FIELD_NUMBER = 8;
   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
@@ -429,7 +367,6 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
    * 
* * int64 limit = 8; - * * @return The limit. */ @java.lang.Override @@ -440,8 +377,6 @@ public long getLimit() { public static final int RESUME_TOKEN_FIELD_NUMBER = 9; private com.google.protobuf.ByteString resumeToken_; /** - * - * *
    * If this request is resuming a previously interrupted read,
    * `resume_token` should be copied from the last
@@ -452,7 +387,6 @@ public long getLimit() {
    * 
* * bytes resume_token = 9; - * * @return The resumeToken. */ @java.lang.Override @@ -463,8 +397,6 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int PARTITION_TOKEN_FIELD_NUMBER = 10; private com.google.protobuf.ByteString partitionToken_; /** - * - * *
    * If present, results will be restricted to the specified partition
    * previously created using PartitionRead().    There must be an exact
@@ -473,7 +405,6 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * bytes partition_token = 10; - * * @return The partitionToken. */ @java.lang.Override @@ -484,14 +415,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 @@ -499,25 +427,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.
    * 
@@ -530,7 +451,6 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -542,7 +462,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -586,7 +507,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_); @@ -603,19 +525,24 @@ 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()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -625,31 +552,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -681,7 +618,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; @@ -695,103 +633,97 @@ public int hashCode() { 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].
@@ -799,32 +731,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();
@@ -864,9 +797,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
@@ -921,39 +854,38 @@ public com.google.spanner.v1.ReadRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -1028,74 +960,69 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                session_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            case 26:
-              {
-                table_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            case 34:
-              {
-                index_ = input.readStringRequireUtf8();
-
-                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);
-
-                break;
-              } // case 50
-            case 64:
-              {
-                limit_ = input.readInt64();
-
-                break;
-              } // case 64
-            case 74:
-              {
-                resumeToken_ = input.readBytes();
-
-                break;
-              } // case 74
-            case 82:
-              {
-                partitionToken_ = input.readBytes();
-
-                break;
-              } // case 82
-            case 90:
-              {
-                input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 90
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              session_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTransactionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            case 26: {
+              table_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 26
+            case 34: {
+              index_ = input.readStringRequireUtf8();
+
+              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);
+
+              break;
+            } // case 50
+            case 64: {
+              limit_ = input.readInt64();
+
+              break;
+            } // case 64
+            case 74: {
+              resumeToken_ = input.readBytes();
+
+              break;
+            } // case 74
+            case 82: {
+              partitionToken_ = input.readBytes();
+
+              break;
+            } // case 82
+            case 90: {
+              input.readMessage(
+                  getRequestOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 90
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1105,27 +1032,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; @@ -1134,23 +1056,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 { @@ -1158,67 +1077,54 @@ 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) { + public Builder setSession( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + session_ = value; 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() { - + session_ = getDefaultInstance().getSession(); 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) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + session_ = value; onChanged(); return this; @@ -1226,49 +1132,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 transactionBuilder_ != null || 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. */ 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.
@@ -1290,8 +1183,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.
@@ -1311,8 +1202,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.
@@ -1324,9 +1213,7 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
       if (transactionBuilder_ == null) {
         if (transaction_ != null) {
           transaction_ =
-              com.google.spanner.v1.TransactionSelector.newBuilder(transaction_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.spanner.v1.TransactionSelector.newBuilder(transaction_).mergeFrom(value).buildPartial();
         } else {
           transaction_ = value;
         }
@@ -1338,8 +1225,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.
@@ -1359,8 +1244,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.
@@ -1369,13 +1252,11 @@ public Builder clearTransaction() {
      * .google.spanner.v1.TransactionSelector transaction = 2;
      */
     public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder() {
-
+      
       onChanged();
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1387,14 +1268,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.
@@ -1403,17 +1281,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_;
@@ -1421,20 +1296,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; @@ -1443,21 +1316,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 { @@ -1465,61 +1337,54 @@ 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) { + public Builder setTable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; 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() { - + table_ = getDefaultInstance().getTable(); onChanged(); 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) { + public Builder setTableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); return this; @@ -1527,8 +1392,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]
@@ -1536,13 +1399,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; @@ -1551,8 +1414,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]
@@ -1560,14 +1421,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 { @@ -1575,8 +1437,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]
@@ -1584,22 +1444,20 @@ 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) { + public Builder setIndex( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + index_ = value; 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]
@@ -1607,18 +1465,15 @@ public Builder setIndex(java.lang.String value) {
      * 
* * string index = 4; - * * @return This builder for chaining. */ public Builder clearIndex() { - + index_ = getDefaultInstance().getIndex(); 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]
@@ -1626,70 +1481,60 @@ 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) { + public Builder setIndexBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + index_ = value; onChanged(); 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_ & 0x00000001) != 0)) { columns_ = new com.google.protobuf.LazyStringArrayList(columns_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * 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. */ @@ -1697,95 +1542,85 @@ 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) { + public Builder setColumns( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); + 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) { + public Builder addColumns( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); + 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() { @@ -1795,23 +1630,21 @@ 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) { + public Builder addColumnsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureColumnsIsMutable(); columns_.add(value); onChanged(); @@ -1820,13 +1653,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]
@@ -1841,15 +1669,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 keySetBuilder_ != null || 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]
@@ -1864,7 +1689,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() { @@ -1875,8 +1699,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]
@@ -1906,8 +1728,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]
@@ -1923,7 +1743,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();
         onChanged();
@@ -1934,8 +1755,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]
@@ -1955,7 +1774,7 @@ public Builder mergeKeySet(com.google.spanner.v1.KeySet value) {
       if (keySetBuilder_ == null) {
         if (keySet_ != null) {
           keySet_ =
-              com.google.spanner.v1.KeySet.newBuilder(keySet_).mergeFrom(value).buildPartial();
+            com.google.spanner.v1.KeySet.newBuilder(keySet_).mergeFrom(value).buildPartial();
         } else {
           keySet_ = value;
         }
@@ -1967,8 +1786,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]
@@ -1996,8 +1813,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]
@@ -2014,13 +1829,11 @@ public Builder clearKeySet() {
      * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.spanner.v1.KeySet.Builder getKeySetBuilder() {
-
+      
       onChanged();
       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]
@@ -2040,12 +1853,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]
@@ -2062,26 +1874,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
@@ -2089,7 +1896,6 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
      * 
* * int64 limit = 8; - * * @return The limit. */ @java.lang.Override @@ -2097,8 +1903,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
@@ -2106,19 +1910,16 @@ public long getLimit() {
      * 
* * int64 limit = 8; - * * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(long value) { - + limit_ = value; 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
@@ -2126,11 +1927,10 @@ public Builder setLimit(long value) {
      * 
* * int64 limit = 8; - * * @return This builder for chaining. */ public Builder clearLimit() { - + limit_ = 0L; onChanged(); return this; @@ -2138,8 +1938,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
@@ -2150,7 +1948,6 @@ public Builder clearLimit() {
      * 
* * bytes resume_token = 9; - * * @return The resumeToken. */ @java.lang.Override @@ -2158,8 +1955,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
@@ -2170,22 +1965,19 @@ 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(); - } - + throw new NullPointerException(); + } + resumeToken_ = value; onChanged(); return this; } /** - * - * *
      * If this request is resuming a previously interrupted read,
      * `resume_token` should be copied from the last
@@ -2196,11 +1988,10 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 9; - * * @return This builder for chaining. */ public Builder clearResumeToken() { - + resumeToken_ = getDefaultInstance().getResumeToken(); onChanged(); return this; @@ -2208,8 +1999,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
@@ -2218,7 +2007,6 @@ public Builder clearResumeToken() {
      * 
* * bytes partition_token = 10; - * * @return The partitionToken. */ @java.lang.Override @@ -2226,8 +2014,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
@@ -2236,22 +2022,19 @@ 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(); - } - + throw new NullPointerException(); + } + partitionToken_ = value; onChanged(); return this; } /** - * - * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionRead().    There must be an exact
@@ -2260,11 +2043,10 @@ public Builder setPartitionToken(com.google.protobuf.ByteString value) {
      * 
* * bytes partition_token = 10; - * * @return This builder for chaining. */ public Builder clearPartitionToken() { - + partitionToken_ = getDefaultInstance().getPartitionToken(); onChanged(); return this; @@ -2272,47 +2054,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 requestOptionsBuilder_ != null || requestOptions_ != null; } /** - * - * *
      * 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.
      * 
@@ -2333,15 +2102,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(); onChanged(); @@ -2352,8 +2120,6 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -2364,9 +2130,7 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { if (requestOptions_ != null) { requestOptions_ = - com.google.spanner.v1.RequestOptions.newBuilder(requestOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.v1.RequestOptions.newBuilder(requestOptions_).mergeFrom(value).buildPartial(); } else { requestOptions_ = value; } @@ -2378,8 +2142,6 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -2398,8 +2160,6 @@ public Builder clearRequestOptions() { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -2407,13 +2167,11 @@ public Builder clearRequestOptions() { * .google.spanner.v1.RequestOptions request_options = 11; */ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { - + onChanged(); return getRequestOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Common options for this request.
      * 
@@ -2424,14 +2182,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.
      * 
@@ -2439,24 +2194,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_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2466,12 +2218,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(); } @@ -2480,27 +2232,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; @@ -2515,4 +2267,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 86% 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 5988afde18f..36da6d75a1e 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.
    * 
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 1f262e38fa9..ff6b6bbb613 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,44 +228,33 @@ private Priority(int value) { public static final int PRIORITY_FIELD_NUMBER = 1; private int priority_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.spanner.v1.RequestOptions.Priority getPriority() { @SuppressWarnings("deprecation") - com.google.spanner.v1.RequestOptions.Priority result = - com.google.spanner.v1.RequestOptions.Priority.valueOf(priority_); + com.google.spanner.v1.RequestOptions.Priority result = com.google.spanner.v1.RequestOptions.Priority.valueOf(priority_); return result == null ? com.google.spanner.v1.RequestOptions.Priority.UNRECOGNIZED : result; } public static final int REQUEST_TAG_FIELD_NUMBER = 2; private volatile java.lang.Object requestTag_; /** - * - * *
    * A per-request tag which can be applied to queries or reads, used for
    * statistics collection.
@@ -316,7 +269,6 @@ public com.google.spanner.v1.RequestOptions.Priority getPriority() {
    * 
* * string request_tag = 2; - * * @return The requestTag. */ @java.lang.Override @@ -325,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.
@@ -348,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 { @@ -367,8 +319,6 @@ public com.google.protobuf.ByteString getRequestTagBytes() { public static final int TRANSACTION_TAG_FIELD_NUMBER = 3; 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
@@ -384,7 +334,6 @@ public com.google.protobuf.ByteString getRequestTagBytes() {
    * 
* * string transaction_tag = 3; - * * @return The transactionTag. */ @java.lang.Override @@ -393,15 +342,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
@@ -417,15 +365,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 { @@ -434,7 +383,6 @@ public com.google.protobuf.ByteString getTransactionTagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -446,9 +394,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_)) { @@ -466,9 +414,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_); @@ -484,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.RequestOptions)) { return super.equals(obj); @@ -492,8 +440,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; } @@ -516,135 +466,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(); @@ -658,9 +603,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 @@ -691,39 +636,38 @@ public com.google.spanner.v1.RequestOptions buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -769,31 +713,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - priority_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - requestTag_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - transactionTag_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + priority_ = input.readEnum(); + + break; + } // case 8 + case 18: { + requestTag_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + transactionTag_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -806,65 +746,51 @@ public Builder mergeFrom( 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. */ public Builder setPriorityValue(int value) { - + priority_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.v1.RequestOptions.Priority result = - com.google.spanner.v1.RequestOptions.Priority.valueOf(priority_); + com.google.spanner.v1.RequestOptions.Priority result = com.google.spanner.v1.RequestOptions.Priority.valueOf(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. */ @@ -872,24 +798,21 @@ public Builder setPriority(com.google.spanner.v1.RequestOptions.Priority value) if (value == null) { throw new NullPointerException(); } - + priority_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Priority for the request.
      * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; - * * @return This builder for chaining. */ public Builder clearPriority() { - + priority_ = 0; onChanged(); return this; @@ -897,8 +820,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.
@@ -913,13 +834,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; @@ -928,8 +849,6 @@ public java.lang.String getRequestTag() { } } /** - * - * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -944,14 +863,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 { @@ -959,8 +879,6 @@ public com.google.protobuf.ByteString getRequestTagBytes() { } } /** - * - * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -975,22 +893,20 @@ 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) { + public Builder setRequestTag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestTag_ = value; onChanged(); return this; } /** - * - * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -1005,18 +921,15 @@ public Builder setRequestTag(java.lang.String value) {
      * 
* * string request_tag = 2; - * * @return This builder for chaining. */ public Builder clearRequestTag() { - + requestTag_ = getDefaultInstance().getRequestTag(); onChanged(); return this; } /** - * - * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -1031,16 +944,16 @@ 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) { + public Builder setRequestTagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestTag_ = value; onChanged(); return this; @@ -1048,8 +961,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
@@ -1065,13 +976,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; @@ -1080,8 +991,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
@@ -1097,14 +1006,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 { @@ -1112,8 +1022,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
@@ -1129,22 +1037,20 @@ 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) { + public Builder setTransactionTag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + transactionTag_ = value; 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
@@ -1160,18 +1066,15 @@ public Builder setTransactionTag(java.lang.String value) {
      * 
* * string transaction_tag = 3; - * * @return This builder for chaining. */ public Builder clearTransactionTag() { - + transactionTag_ = getDefaultInstance().getTransactionTag(); 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
@@ -1187,23 +1090,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) { + public Builder setTransactionTagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + transactionTag_ = 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); } @@ -1213,12 +1116,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(); } @@ -1227,27 +1130,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; @@ -1262,4 +1165,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 ec16a707525..d2071d540d5 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.
    * 
@@ -118,8 +90,6 @@ public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() { public static final int ROWS_FIELD_NUMBER = 2; 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
@@ -136,8 +106,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
@@ -150,12 +118,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
@@ -172,8 +139,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
@@ -190,8 +155,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
@@ -204,15 +167,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
@@ -225,7 +187,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 @@ -233,8 +194,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
@@ -247,7 +206,6 @@ public boolean hasStats() {
    * 
* * .google.spanner.v1.ResultSetStats stats = 3; - * * @return The stats. */ @java.lang.Override @@ -255,8 +213,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
@@ -276,7 +232,6 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -288,7 +243,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -308,13 +264,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;
@@ -324,7 +283,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);
@@ -333,12 +292,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;
@@ -368,103 +330,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].
@@ -472,31 +428,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();
@@ -523,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
@@ -573,39 +531,38 @@ public com.google.spanner.v1.ResultSet buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -635,10 +592,9 @@ public Builder mergeFrom(com.google.spanner.v1.ResultSet other) {
             rowsBuilder_ = null;
             rows_ = other.rows_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            rowsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRowsFieldBuilder()
-                    : null;
+            rowsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRowsFieldBuilder() : null;
           } else {
             rowsBuilder_.addAllMessages(other.rows_);
           }
@@ -673,37 +629,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry);
+            case 10: {
+              input.readMessage(
+                  getMetadataFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                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);
+              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);
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -713,52 +671,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 metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * 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.
      * 
@@ -779,15 +723,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(); onChanged(); @@ -798,8 +741,6 @@ public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata.Builder build return this; } /** - * - * *
      * Metadata about the result set, such as row type information.
      * 
@@ -810,9 +751,7 @@ public Builder mergeMetadata(com.google.spanner.v1.ResultSetMetadata value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.spanner.v1.ResultSetMetadata.newBuilder(metadata_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.v1.ResultSetMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -824,8 +763,6 @@ public Builder mergeMetadata(com.google.spanner.v1.ResultSetMetadata value) { return this; } /** - * - * *
      * Metadata about the result set, such as row type information.
      * 
@@ -844,8 +781,6 @@ public Builder clearMetadata() { return this; } /** - * - * *
      * Metadata about the result set, such as row type information.
      * 
@@ -853,13 +788,11 @@ public Builder clearMetadata() { * .google.spanner.v1.ResultSetMetadata metadata = 1; */ public com.google.spanner.v1.ResultSetMetadata.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Metadata about the result set, such as row type information.
      * 
@@ -870,14 +803,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.
      * 
@@ -885,40 +815,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_ & 0x00000001) != 0)) { rows_ = new java.util.ArrayList(rows_); bitField0_ |= 0x00000001; - } + } } 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
@@ -938,8 +860,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
@@ -959,8 +879,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
@@ -980,8 +898,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
@@ -993,7 +909,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();
@@ -1007,8 +924,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
@@ -1020,7 +935,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());
@@ -1031,8 +947,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
@@ -1058,8 +972,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
@@ -1071,7 +983,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();
@@ -1085,8 +998,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
@@ -1098,7 +1009,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());
@@ -1109,8 +1021,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
@@ -1122,7 +1032,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());
@@ -1133,8 +1044,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
@@ -1146,10 +1055,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);
@@ -1157,8 +1068,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
@@ -1181,8 +1090,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
@@ -1205,8 +1112,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
@@ -1218,12 +1123,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
@@ -1235,16 +1139,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
@@ -1256,7 +1158,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 {
@@ -1264,8 +1167,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
@@ -1278,11 +1179,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
@@ -1294,13 +1194,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
@@ -1312,22 +1211,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_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
+                rows_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         rows_ = null;
       }
       return rowsBuilder_;
@@ -1335,13 +1232,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
@@ -1354,15 +1246,12 @@ public java.util.List getRowsBuilderList(
      * 
* * .google.spanner.v1.ResultSetStats stats = 3; - * * @return Whether the stats field is set. */ public boolean hasStats() { return statsBuilder_ != null || stats_ != null; } /** - * - * *
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1375,7 +1264,6 @@ public boolean hasStats() {
      * 
* * .google.spanner.v1.ResultSetStats stats = 3; - * * @return The stats. */ public com.google.spanner.v1.ResultSetStats getStats() { @@ -1386,8 +1274,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
@@ -1415,8 +1301,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
@@ -1430,7 +1314,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();
         onChanged();
@@ -1441,8 +1326,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
@@ -1460,9 +1343,7 @@ public Builder mergeStats(com.google.spanner.v1.ResultSetStats value) {
       if (statsBuilder_ == null) {
         if (stats_ != null) {
           stats_ =
-              com.google.spanner.v1.ResultSetStats.newBuilder(stats_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.spanner.v1.ResultSetStats.newBuilder(stats_).mergeFrom(value).buildPartial();
         } else {
           stats_ = value;
         }
@@ -1474,8 +1355,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
@@ -1501,8 +1380,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
@@ -1517,13 +1394,11 @@ public Builder clearStats() {
      * .google.spanner.v1.ResultSetStats stats = 3;
      */
     public com.google.spanner.v1.ResultSetStats.Builder getStatsBuilder() {
-
+      
       onChanged();
       return getStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1541,12 +1416,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
@@ -1561,24 +1435,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);
     }
 
@@ -1588,12 +1459,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();
   }
@@ -1602,27 +1473,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;
@@ -1637,4 +1508,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 54%
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 d802b4648bb..ed6966570d3 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.
@@ -180,8 +144,69 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() {
     return getTransaction();
   }
 
-  private byte memoizedIsInitialized = -1;
+  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
+   * parameters in the SQL query. For example, a SQL query like `"SELECT * FROM
+   * Users where UserId = @userId and UserName = @userName "` could return a
+   * `undeclared_parameters` value like:
+   *     "fields": [
+   *       { "name": "UserId", "type": { "code": "INT64" } },
+   *       { "name": "UserName", "type": { "code": "STRING" } },
+   *     ]
+   * 
+ * + * .google.spanner.v1.StructType undeclared_parameters = 3; + * @return Whether the undeclaredParameters field is set. + */ + @java.lang.Override + 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
+   * parameters in the SQL query. For example, a SQL query like `"SELECT * FROM
+   * Users where UserId = @userId and UserName = @userName "` could return a
+   * `undeclared_parameters` value like:
+   *     "fields": [
+   *       { "name": "UserId", "type": { "code": "INT64" } },
+   *       { "name": "UserName", "type": { "code": "STRING" } },
+   *     ]
+   * 
+ * + * .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_; + } + /** + *
+   * A SQL query can be parameterized. In PLAN mode, these parameters can be
+   * undeclared. This indicates the field names and types for those undeclared
+   * parameters in the SQL query. For example, a SQL query like `"SELECT * FROM
+   * Users where UserId = @userId and UserName = @userName "` could return a
+   * `undeclared_parameters` value like:
+   *     "fields": [
+   *       { "name": "UserId", "type": { "code": "INT64" } },
+   *       { "name": "UserName", "type": { "code": "STRING" } },
+   *     ]
+   * 
+ * + * .google.spanner.v1.StructType undeclared_parameters = 3; + */ + @java.lang.Override + public com.google.spanner.v1.StructTypeOrBuilder getUndeclaredParametersOrBuilder() { + return getUndeclaredParameters(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,13 +218,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 (rowType_ != null) { output.writeMessage(1, getRowType()); } if (transaction_ != null) { output.writeMessage(2, getTransaction()); } + if (undeclaredParameters_ != null) { + output.writeMessage(3, getUndeclaredParameters()); + } getUnknownFields().writeTo(output); } @@ -210,10 +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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -223,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); @@ -232,11 +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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -257,141 +299,139 @@ public int hashCode() { hash = (37 * hash) + TRANSACTION_FIELD_NUMBER; hash = (53 * hash) + getTransaction().hashCode(); } + if (hasUndeclaredParameters()) { + hash = (37 * hash) + UNDECLARED_PARAMETERS_FIELD_NUMBER; + hash = (53 * hash) + getUndeclaredParameters().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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(); @@ -407,13 +447,19 @@ public Builder clear() { transaction_ = null; transactionBuilder_ = null; } + if (undeclaredParametersBuilder_ == null) { + undeclaredParameters_ = null; + } else { + undeclaredParameters_ = null; + undeclaredParametersBuilder_ = null; + } return this; } @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 @@ -432,8 +478,7 @@ 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); + com.google.spanner.v1.ResultSetMetadata result = new com.google.spanner.v1.ResultSetMetadata(this); if (rowTypeBuilder_ == null) { result.rowType_ = rowType_; } else { @@ -444,6 +489,11 @@ public com.google.spanner.v1.ResultSetMetadata buildPartial() { } else { result.transaction_ = transactionBuilder_.build(); } + if (undeclaredParametersBuilder_ == null) { + result.undeclaredParameters_ = undeclaredParameters_; + } else { + result.undeclaredParameters_ = undeclaredParametersBuilder_.build(); + } onBuilt(); return result; } @@ -452,39 +502,38 @@ public com.google.spanner.v1.ResultSetMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -499,6 +548,9 @@ public Builder mergeFrom(com.google.spanner.v1.ResultSetMetadata other) { if (other.hasTransaction()) { mergeTransaction(other.getTransaction()); } + if (other.hasUndeclaredParameters()) { + mergeUndeclaredParameters(other.getUndeclaredParameters()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -525,25 +577,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getRowTypeFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getRowTypeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getTransactionFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getUndeclaredParametersFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -556,13 +616,8 @@ public Builder mergeFrom( 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
@@ -574,15 +629,12 @@ public Builder mergeFrom(
      * 
* * .google.spanner.v1.StructType row_type = 1; - * * @return Whether the rowType field is set. */ public boolean hasRowType() { return rowTypeBuilder_ != null || 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
@@ -594,7 +646,6 @@ public boolean hasRowType() {
      * 
* * .google.spanner.v1.StructType row_type = 1; - * * @return The rowType. */ public com.google.spanner.v1.StructType getRowType() { @@ -605,8 +656,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
@@ -633,8 +682,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
@@ -647,7 +694,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();
         onChanged();
@@ -658,8 +706,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
@@ -676,7 +722,7 @@ public Builder mergeRowType(com.google.spanner.v1.StructType value) {
       if (rowTypeBuilder_ == null) {
         if (rowType_ != null) {
           rowType_ =
-              com.google.spanner.v1.StructType.newBuilder(rowType_).mergeFrom(value).buildPartial();
+            com.google.spanner.v1.StructType.newBuilder(rowType_).mergeFrom(value).buildPartial();
         } else {
           rowType_ = value;
         }
@@ -688,8 +734,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
@@ -714,8 +758,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
@@ -729,13 +771,11 @@ public Builder clearRowType() {
      * .google.spanner.v1.StructType row_type = 1;
      */
     public com.google.spanner.v1.StructType.Builder getRowTypeBuilder() {
-
+      
       onChanged();
       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
@@ -752,12 +792,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
@@ -771,17 +810,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_;
@@ -789,49 +825,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 transactionBuilder_ != null || 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. */ 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.
@@ -853,8 +876,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.
@@ -862,7 +883,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();
         onChanged();
@@ -873,8 +895,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.
@@ -886,9 +906,7 @@ public Builder mergeTransaction(com.google.spanner.v1.Transaction value) {
       if (transactionBuilder_ == null) {
         if (transaction_ != null) {
           transaction_ =
-              com.google.spanner.v1.Transaction.newBuilder(transaction_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.spanner.v1.Transaction.newBuilder(transaction_).mergeFrom(value).buildPartial();
         } else {
           transaction_ = value;
         }
@@ -900,8 +918,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.
@@ -921,8 +937,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.
@@ -931,13 +945,11 @@ public Builder clearTransaction() {
      * .google.spanner.v1.Transaction transaction = 2;
      */
     public com.google.spanner.v1.Transaction.Builder getTransactionBuilder() {
-
+      
       onChanged();
       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.
@@ -949,14 +961,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.
@@ -965,24 +974,248 @@ 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_;
     }
 
+    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_;
+    /**
+     * 
+     * A SQL query can be parameterized. In PLAN mode, these parameters can be
+     * undeclared. This indicates the field names and types for those undeclared
+     * parameters in the SQL query. For example, a SQL query like `"SELECT * FROM
+     * Users where UserId = @userId and UserName = @userName "` could return a
+     * `undeclared_parameters` value like:
+     *     "fields": [
+     *       { "name": "UserId", "type": { "code": "INT64" } },
+     *       { "name": "UserName", "type": { "code": "STRING" } },
+     *     ]
+     * 
+ * + * .google.spanner.v1.StructType undeclared_parameters = 3; + * @return Whether the undeclaredParameters field is set. + */ + public boolean hasUndeclaredParameters() { + return undeclaredParametersBuilder_ != null || 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
+     * parameters in the SQL query. For example, a SQL query like `"SELECT * FROM
+     * Users where UserId = @userId and UserName = @userName "` could return a
+     * `undeclared_parameters` value like:
+     *     "fields": [
+     *       { "name": "UserId", "type": { "code": "INT64" } },
+     *       { "name": "UserName", "type": { "code": "STRING" } },
+     *     ]
+     * 
+ * + * .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_; + } 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
+     * parameters in the SQL query. For example, a SQL query like `"SELECT * FROM
+     * Users where UserId = @userId and UserName = @userName "` could return a
+     * `undeclared_parameters` value like:
+     *     "fields": [
+     *       { "name": "UserId", "type": { "code": "INT64" } },
+     *       { "name": "UserName", "type": { "code": "STRING" } },
+     *     ]
+     * 
+ * + * .google.spanner.v1.StructType undeclared_parameters = 3; + */ + public Builder setUndeclaredParameters(com.google.spanner.v1.StructType value) { + if (undeclaredParametersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + undeclaredParameters_ = value; + onChanged(); + } else { + undeclaredParametersBuilder_.setMessage(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
+     * parameters in the SQL query. For example, a SQL query like `"SELECT * FROM
+     * Users where UserId = @userId and UserName = @userName "` could return a
+     * `undeclared_parameters` value like:
+     *     "fields": [
+     *       { "name": "UserId", "type": { "code": "INT64" } },
+     *       { "name": "UserName", "type": { "code": "STRING" } },
+     *     ]
+     * 
+ * + * .google.spanner.v1.StructType undeclared_parameters = 3; + */ + public Builder setUndeclaredParameters( + com.google.spanner.v1.StructType.Builder builderForValue) { + if (undeclaredParametersBuilder_ == null) { + undeclaredParameters_ = builderForValue.build(); + onChanged(); + } else { + undeclaredParametersBuilder_.setMessage(builderForValue.build()); + } + + 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
+     * parameters in the SQL query. For example, a SQL query like `"SELECT * FROM
+     * Users where UserId = @userId and UserName = @userName "` could return a
+     * `undeclared_parameters` value like:
+     *     "fields": [
+     *       { "name": "UserId", "type": { "code": "INT64" } },
+     *       { "name": "UserName", "type": { "code": "STRING" } },
+     *     ]
+     * 
+ * + * .google.spanner.v1.StructType undeclared_parameters = 3; + */ + public Builder mergeUndeclaredParameters(com.google.spanner.v1.StructType value) { + if (undeclaredParametersBuilder_ == null) { + if (undeclaredParameters_ != null) { + undeclaredParameters_ = + com.google.spanner.v1.StructType.newBuilder(undeclaredParameters_).mergeFrom(value).buildPartial(); + } else { + undeclaredParameters_ = value; + } + onChanged(); + } else { + undeclaredParametersBuilder_.mergeFrom(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
+     * parameters in the SQL query. For example, a SQL query like `"SELECT * FROM
+     * Users where UserId = @userId and UserName = @userName "` could return a
+     * `undeclared_parameters` value like:
+     *     "fields": [
+     *       { "name": "UserId", "type": { "code": "INT64" } },
+     *       { "name": "UserName", "type": { "code": "STRING" } },
+     *     ]
+     * 
+ * + * .google.spanner.v1.StructType undeclared_parameters = 3; + */ + public Builder clearUndeclaredParameters() { + if (undeclaredParametersBuilder_ == null) { + undeclaredParameters_ = null; + onChanged(); + } else { + undeclaredParameters_ = null; + undeclaredParametersBuilder_ = null; + } + + 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
+     * parameters in the SQL query. For example, a SQL query like `"SELECT * FROM
+     * Users where UserId = @userId and UserName = @userName "` could return a
+     * `undeclared_parameters` value like:
+     *     "fields": [
+     *       { "name": "UserId", "type": { "code": "INT64" } },
+     *       { "name": "UserName", "type": { "code": "STRING" } },
+     *     ]
+     * 
+ * + * .google.spanner.v1.StructType undeclared_parameters = 3; + */ + public com.google.spanner.v1.StructType.Builder getUndeclaredParametersBuilder() { + + onChanged(); + 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
+     * parameters in the SQL query. For example, a SQL query like `"SELECT * FROM
+     * Users where UserId = @userId and UserName = @userName "` could return a
+     * `undeclared_parameters` value like:
+     *     "fields": [
+     *       { "name": "UserId", "type": { "code": "INT64" } },
+     *       { "name": "UserName", "type": { "code": "STRING" } },
+     *     ]
+     * 
+ * + * .google.spanner.v1.StructType undeclared_parameters = 3; + */ + public com.google.spanner.v1.StructTypeOrBuilder getUndeclaredParametersOrBuilder() { + if (undeclaredParametersBuilder_ != null) { + return undeclaredParametersBuilder_.getMessageOrBuilder(); + } else { + 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
+     * parameters in the SQL query. For example, a SQL query like `"SELECT * FROM
+     * Users where UserId = @userId and UserName = @userName "` could return a
+     * `undeclared_parameters` value like:
+     *     "fields": [
+     *       { "name": "UserId", "type": { "code": "INT64" } },
+     *       { "name": "UserName", "type": { "code": "STRING" } },
+     *     ]
+     * 
+ * + * .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> + 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()); + 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); } @@ -992,12 +1225,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(); } @@ -1006,27 +1239,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; @@ -1041,4 +1274,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 55% 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 e1a554096f5..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.
@@ -113,4 +81,55 @@ public interface ResultSetMetadataOrBuilder
    * .google.spanner.v1.Transaction transaction = 2;
    */
   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
+   * parameters in the SQL query. For example, a SQL query like `"SELECT * FROM
+   * Users where UserId = @userId and UserName = @userName "` could return a
+   * `undeclared_parameters` value like:
+   *     "fields": [
+   *       { "name": "UserId", "type": { "code": "INT64" } },
+   *       { "name": "UserName", "type": { "code": "STRING" } },
+   *     ]
+   * 
+ * + * .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
+   * parameters in the SQL query. For example, a SQL query like `"SELECT * FROM
+   * Users where UserId = @userId and UserName = @userName "` could return a
+   * `undeclared_parameters` value like:
+   *     "fields": [
+   *       { "name": "UserId", "type": { "code": "INT64" } },
+   *       { "name": "UserName", "type": { "code": "STRING" } },
+   *     ]
+   * 
+ * + * .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
+   * parameters in the SQL query. For example, a SQL query like `"SELECT * FROM
+   * Users where UserId = @userId and UserName = @userName "` could return a
+   * `undeclared_parameters` value like:
+   *     "fields": [
+   *       { "name": "UserId", "type": { "code": "INT64" } },
+   *       { "name": "UserName", "type": { "code": "STRING" } },
+   *     ]
+   * 
+ * + * .google.spanner.v1.StructType undeclared_parameters = 3; + */ + com.google.spanner.v1.StructTypeOrBuilder getUndeclaredParametersOrBuilder(); } 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..c5ec94f3283
--- /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\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/ResultSetStats.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java
similarity index 74%
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 1770fe8f324..e881a2f2f25 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(); @@ -568,9 +521,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 @@ -615,39 +568,38 @@ public com.google.spanner.v1.ResultSetStats buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -663,20 +615,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(); @@ -704,37 +653,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getQueryPlanFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getQueryPlanFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getQueryStatsFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getQueryStatsFieldBuilder().getBuilder(), + extensionRegistry); - 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: + 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) { @@ -744,12 +692,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() { @@ -759,49 +707,37 @@ public Builder clearRowCount() { return this; } + 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 queryPlanBuilder_ != null || queryPlan_ != null; } /** - * - * *
      * [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.
      * 
@@ -822,15 +758,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(); onChanged(); @@ -841,8 +776,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.
      * 
@@ -853,9 +786,7 @@ public Builder mergeQueryPlan(com.google.spanner.v1.QueryPlan value) { if (queryPlanBuilder_ == null) { if (queryPlan_ != null) { queryPlan_ = - com.google.spanner.v1.QueryPlan.newBuilder(queryPlan_) - .mergeFrom(value) - .buildPartial(); + com.google.spanner.v1.QueryPlan.newBuilder(queryPlan_).mergeFrom(value).buildPartial(); } else { queryPlan_ = value; } @@ -867,8 +798,6 @@ public Builder mergeQueryPlan(com.google.spanner.v1.QueryPlan value) { return this; } /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -887,8 +816,6 @@ public Builder clearQueryPlan() { return this; } /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -896,13 +823,11 @@ public Builder clearQueryPlan() { * .google.spanner.v1.QueryPlan query_plan = 1; */ public com.google.spanner.v1.QueryPlan.Builder getQueryPlanBuilder() { - + onChanged(); return getQueryPlanFieldBuilder().getBuilder(); } /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -913,14 +838,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.
      * 
@@ -928,17 +850,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_; @@ -946,13 +865,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
@@ -965,15 +879,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 queryStatsBuilder_ != null || 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
@@ -986,7 +897,6 @@ public boolean hasQueryStats() {
      * 
* * .google.protobuf.Struct query_stats = 2; - * * @return The queryStats. */ public com.google.protobuf.Struct getQueryStats() { @@ -997,8 +907,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
@@ -1026,8 +934,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
@@ -1041,7 +947,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();
         onChanged();
@@ -1052,8 +959,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
@@ -1071,7 +976,7 @@ public Builder mergeQueryStats(com.google.protobuf.Struct value) {
       if (queryStatsBuilder_ == null) {
         if (queryStats_ != null) {
           queryStats_ =
-              com.google.protobuf.Struct.newBuilder(queryStats_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Struct.newBuilder(queryStats_).mergeFrom(value).buildPartial();
         } else {
           queryStats_ = value;
         }
@@ -1083,8 +988,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
@@ -1110,8 +1013,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
@@ -1126,13 +1027,11 @@ public Builder clearQueryStats() {
      * .google.protobuf.Struct query_stats = 2;
      */
     public com.google.protobuf.Struct.Builder getQueryStatsBuilder() {
-
+      
       onChanged();
       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
@@ -1150,12 +1049,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
@@ -1170,45 +1068,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() { @@ -1218,14 +1107,11 @@ 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. */ @@ -1236,14 +1122,11 @@ public Builder setRowCountExact(long value) { 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() { @@ -1256,30 +1139,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() { @@ -1289,15 +1166,12 @@ 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. */ @@ -1308,15 +1182,12 @@ public Builder setRowCountLowerBound(long value) { 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() { @@ -1327,9 +1198,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); } @@ -1339,12 +1210,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(); } @@ -1353,27 +1224,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; @@ -1388,4 +1259,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 64% 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 c9ef0589e82..ffddffd6da9 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,43 +26,37 @@ 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; 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 @@ -89,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 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 { @@ -124,14 +98,11 @@ public com.google.protobuf.ByteString getSessionBytes() { public static final int TRANSACTION_ID_FIELD_NUMBER = 2; private com.google.protobuf.ByteString transactionId_; /** - * - * *
    * Required. The transaction to roll back.
    * 
* * bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The transactionId. */ @java.lang.Override @@ -140,7 +111,6 @@ public com.google.protobuf.ByteString getTransactionId() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -152,7 +122,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -172,7 +143,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; @@ -182,15 +154,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; } @@ -211,135 +185,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(); @@ -351,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 @@ -372,8 +341,7 @@ 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); + com.google.spanner.v1.RollbackRequest result = new com.google.spanner.v1.RollbackRequest(this); result.session_ = session_; result.transactionId_ = transactionId_; onBuilt(); @@ -384,39 +352,38 @@ public com.google.spanner.v1.RollbackRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -458,25 +425,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - session_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - transactionId_ = input.readBytes(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + session_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + transactionId_ = input.readBytes(); + + 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) { @@ -489,22 +453,18 @@ public Builder mergeFrom( 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; @@ -513,23 +473,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 { @@ -537,67 +494,54 @@ 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) { + public Builder setSession( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + session_ = value; 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() { - + session_ = getDefaultInstance().getSession(); 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) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + session_ = value; onChanged(); return this; @@ -605,14 +549,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 @@ -620,46 +561,40 @@ 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(); - } - + throw new NullPointerException(); + } + transactionId_ = value; 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() { - + transactionId_ = getDefaultInstance().getTransactionId(); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -669,12 +604,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(); } @@ -683,27 +618,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; @@ -718,4 +653,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 681e8ee9925..da7e93202d0 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,35 +26,37 @@ 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); } @@ -80,14 +64,11 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { public static final int NAME_FIELD_NUMBER = 1; 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 @@ -96,29 +77,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 { @@ -127,23 +108,24 @@ 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, + ""); } - - 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_; } @@ -152,8 +134,6 @@ 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
@@ -166,22 +146,22 @@ 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
@@ -195,12 +175,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 2;
    */
   @java.lang.Override
+
   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
@@ -214,16 +193,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 2;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -237,11 +216,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * 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();
     }
@@ -251,15 +231,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 @@ -267,15 +243,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 @@ -283,14 +255,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() { @@ -300,17 +269,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 @@ -318,36 +282,25 @@ 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() { @@ -357,14 +310,11 @@ public com.google.protobuf.TimestampOrBuilder getApproximateLastUseTimeOrBuilder public static final int CREATOR_ROLE_FIELD_NUMBER = 5; private volatile java.lang.Object creatorRole_; /** - * - * *
    * The database role which created this session.
    * 
* * string creator_role = 5; - * * @return The creatorRole. */ @java.lang.Override @@ -373,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 { @@ -404,7 +354,6 @@ public com.google.protobuf.ByteString getCreatorRoleBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -416,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()); } @@ -443,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_); @@ -471,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; } @@ -521,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(); @@ -693,9 +651,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 @@ -738,39 +696,38 @@ public com.google.spanner.v1.Session buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -783,7 +740,8 @@ public Builder mergeFrom(com.google.spanner.v1.Session other) { name_ = other.name_; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -820,49 +778,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - break; - } // case 18 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 34: - { - input.readMessage( - getApproximateLastUseTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - case 42: - { - creatorRole_ = input.readStringRequireUtf8(); - - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } // case 18 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 34: { + input.readMessage( + getApproximateLastUseTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + case 42: { + creatorRole_ = input.readStringRequireUtf8(); + + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -872,25 +825,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; @@ -899,21 +849,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 { @@ -921,81 +870,75 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1007,8 +950,6 @@ 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
@@ -1021,22 +962,22 @@ 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
@@ -1050,12 +991,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 2;
      */
     @java.lang.Override
+
     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
@@ -1069,17 +1009,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 2;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The labels for the session.
      *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -1093,11 +1032,12 @@ public 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();
       }
@@ -1105,12 +1045,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      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
@@ -1123,21 +1062,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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The labels for the session.
      *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -1150,20 +1091,19 @@ 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");
-      }
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The labels for the session.
      *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -1176,65 +1116,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);
       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 createTimeBuilder_ != null || 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. */ 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) { @@ -1250,17 +1174,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(); onChanged(); @@ -1271,21 +1192,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1297,15 +1214,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() { if (createTimeBuilder_ == null) { @@ -1319,64 +1232,48 @@ 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() { - + onChanged(); 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_; @@ -1384,61 +1281,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 approximateLastUseTimeBuilder_ != null || 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. */ 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) { @@ -1454,16 +1332,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) { @@ -1477,24 +1351,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 (approximateLastUseTime_ != null) { approximateLastUseTime_ = - com.google.protobuf.Timestamp.newBuilder(approximateLastUseTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(approximateLastUseTime_).mergeFrom(value).buildPartial(); } else { approximateLastUseTime_ = value; } @@ -1506,16 +1374,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() { if (approximateLastUseTimeBuilder_ == null) { @@ -1529,67 +1393,51 @@ 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() { - + onChanged(); 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_; @@ -1597,20 +1445,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; @@ -1619,21 +1465,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 { @@ -1641,68 +1486,61 @@ 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) { + public Builder setCreatorRole( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + creatorRole_ = value; onChanged(); return this; } /** - * - * *
      * The database role which created this session.
      * 
* * string creator_role = 5; - * * @return This builder for chaining. */ public Builder clearCreatorRole() { - + creatorRole_ = getDefaultInstance().getCreatorRole(); onChanged(); 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) { + public Builder setCreatorRoleBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + creatorRole_ = 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); } @@ -1712,12 +1550,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(); } @@ -1726,27 +1564,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; @@ -1761,4 +1599,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 b0b8accd8ca..7504720e3e5 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
@@ -116,13 +92,11 @@ public interface SessionOrBuilder
    */
 
   /* 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
@@ -135,112 +109,84 @@ 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..64b5d31bfec --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java @@ -0,0 +1,582 @@ +// 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\"" + + "\344\005\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\032O\n\014QueryOptions\022\031\n\021opt" + + "imizer_version\030\001 \001(\t\022$\n\034optimizer_statis" + + "tics_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.spann" + + "er.v1.Type:\0028\001\".\n\tQueryMode\022\n\n\006NORMAL\020\000\022" + + "\010\n\004PLAN\020\001\022\013\n\007PROFILE\020\002\"\240\004\n\026ExecuteBatchD" + + "mlRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036span" + + "ner.googleapis.com/Session\022@\n\013transactio" + + "n\030\002 \001(\0132&.google.spanner.v1.TransactionS" + + "electorB\003\340A\002\022L\n\nstatements\030\003 \003(\01323.googl" + + "e.spanner.v1.ExecuteBatchDmlRequest.Stat" + + "ementB\003\340A\002\022\022\n\005seqno\030\004 \001(\003B\003\340A\002\022:\n\017reques" + + "t_options\030\005 \001(\0132!.google.spanner.v1.Requ" + + "estOptions\032\354\001\n\tStatement\022\020\n\003sql\030\001 \001(\tB\003\340" + + "A\002\022\'\n\006params\030\002 \001(\0132\027.google.protobuf.Str" + + "uct\022X\n\013param_types\030\003 \003(\0132C.google.spanne" + + "r.v1.ExecuteBatchDmlRequest.Statement.Pa" + + "ramTypesEntry\032J\n\017ParamTypesEntry\022\013\n\003key\030" + + "\001 \001(\t\022&\n\005value\030\002 \001(\0132\027.google.spanner.v1" + + ".Type:\0028\001\"p\n\027ExecuteBatchDmlResponse\0221\n\013" + + "result_sets\030\001 \003(\0132\034.google.spanner.v1.Re" + + "sultSet\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Sta" + + "tus\"H\n\020PartitionOptions\022\034\n\024partition_siz" + + "e_bytes\030\001 \001(\003\022\026\n\016max_partitions\030\002 \001(\003\"\243\003" + + "\n\025PartitionQueryRequest\0227\n\007session\030\001 \001(\t" + + "B&\340A\002\372A \n\036spanner.googleapis.com/Session" + + "\022;\n\013transaction\030\002 \001(\0132&.google.spanner.v" + + "1.TransactionSelector\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_types\030\005 \003(\01328.google.spanner.v" + + "1.PartitionQueryRequest.ParamTypesEntry\022" + + ">\n\021partition_options\030\006 \001(\0132#.google.span" + + "ner.v1.PartitionOptions\032J\n\017ParamTypesEnt" + + "ry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027.google." + + "spanner.v1.Type:\0028\001\"\261\002\n\024PartitionReadReq" + + "uest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.g" + + "oogleapis.com/Session\022;\n\013transaction\030\002 \001" + + "(\0132&.google.spanner.v1.TransactionSelect" + + "or\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_opt" + + "ions\030\t \001(\0132#.google.spanner.v1.Partition" + + "Options\"$\n\tPartition\022\027\n\017partition_token\030" + + "\001 \001(\014\"z\n\021PartitionResponse\0220\n\npartitions" + + "\030\001 \003(\0132\034.google.spanner.v1.Partition\0223\n\013" + + "transaction\030\002 \001(\0132\036.google.spanner.v1.Tr" + + "ansaction\"\347\002\n\013ReadRequest\0227\n\007session\030\001 \001" + + "(\tB&\340A\002\372A \n\036spanner.googleapis.com/Sessi" + + "on\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\024\n\007columns\030\005 \003(\tB\003\340A\002" + + "\022/\n\007key_set\030\006 \001(\0132\031.google.spanner.v1.Ke" + + "ySetB\003\340A\002\022\r\n\005limit\030\010 \001(\003\022\024\n\014resume_token" + + "\030\t \001(\014\022\027\n\017partition_token\030\n \001(\014\022:\n\017reque" + + "st_options\030\013 \001(\0132!.google.spanner.v1.Req" + + "uestOptions\"\313\001\n\027BeginTransactionRequest\022" + + "7\n\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.google" + + "apis.com/Session\022;\n\007options\030\002 \001(\0132%.goog" + + "le.spanner.v1.TransactionOptionsB\003\340A\002\022:\n" + + "\017request_options\030\003 \001(\0132!.google.spanner." + + "v1.RequestOptions\"\303\002\n\rCommitRequest\0227\n\007s" + + "ession\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleapis" + + ".com/Session\022\030\n\016transaction_id\030\002 \001(\014H\000\022G" + + "\n\026single_use_transaction\030\003 \001(\0132%.google." + + "spanner.v1.TransactionOptionsH\000\022.\n\tmutat" + + "ions\030\004 \003(\0132\033.google.spanner.v1.Mutation\022" + + "\033\n\023return_commit_stats\030\005 \001(\010\022:\n\017request_" + + "options\030\006 \001(\0132!.google.spanner.v1.Reques" + + "tOptionsB\r\n\013transaction\"g\n\017RollbackReque" + + "st\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.goo" + + "gleapis.com/Session\022\033\n\016transaction_id\030\002 " + + "\001(\014B\003\340A\0022\300\026\n\007Spanner\022\246\001\n\rCreateSession\022\'" + + ".google.spanner.v1.CreateSessionRequest\032" + + "\032.google.spanner.v1.Session\"P\202\323\344\223\002?\":/v1" + + "/{database=projects/*/instances/*/databa" + + "ses/*}/sessions:\001*\332A\010database\022\340\001\n\023BatchC" + + "reateSessions\022-.google.spanner.v1.BatchC" + + "reateSessionsRequest\032..google.spanner.v1" + + ".BatchCreateSessionsResponse\"j\202\323\344\223\002K\"F/v" + + "1/{database=projects/*/instances/*/datab" + + "ases/*}/sessions:batchCreate:\001*\332A\026databa" + + "se,session_count\022\227\001\n\nGetSession\022$.google" + + ".spanner.v1.GetSessionRequest\032\032.google.s" + + "panner.v1.Session\"G\202\323\344\223\002:\0228/v1/{name=pro" + + "jects/*/instances/*/databases/*/sessions" + + "/*}\332A\004name\022\256\001\n\014ListSessions\022&.google.spa" + + "nner.v1.ListSessionsRequest\032\'.google.spa" + + "nner.v1.ListSessionsResponse\"M\202\323\344\223\002<\022:/v" + + "1/{database=projects/*/instances/*/datab" + + "ases/*}/sessions\332A\010database\022\231\001\n\rDeleteSe" + + "ssion\022\'.google.spanner.v1.DeleteSessionR" + + "equest\032\026.google.protobuf.Empty\"G\202\323\344\223\002:*8" + + "/v1/{name=projects/*/instances/*/databas" + + "es/*/sessions/*}\332A\004name\022\243\001\n\nExecuteSql\022$" + + ".google.spanner.v1.ExecuteSqlRequest\032\034.g" + + "oogle.spanner.v1.ResultSet\"Q\202\323\344\223\002K\"F/v1/" + + "{session=projects/*/instances/*/database" + + "s/*/sessions/*}:executeSql:\001*\022\276\001\n\023Execut" + + "eStreamingSql\022$.google.spanner.v1.Execut" + + "eSqlRequest\032#.google.spanner.v1.PartialR" + + "esultSet\"Z\202\323\344\223\002T\"O/v1/{session=projects/" + + "*/instances/*/databases/*/sessions/*}:ex" + + "ecuteStreamingSql:\001*0\001\022\300\001\n\017ExecuteBatchD" + + "ml\022).google.spanner.v1.ExecuteBatchDmlRe" + + "quest\032*.google.spanner.v1.ExecuteBatchDm" + + "lResponse\"V\202\323\344\223\002P\"K/v1/{session=projects" + + "/*/instances/*/databases/*/sessions/*}:e" + + "xecuteBatchDml:\001*\022\221\001\n\004Read\022\036.google.span" + + "ner.v1.ReadRequest\032\034.google.spanner.v1.R" + + "esultSet\"K\202\323\344\223\002E\"@/v1/{session=projects/" + + "*/instances/*/databases/*/sessions/*}:re" + + "ad:\001*\022\254\001\n\rStreamingRead\022\036.google.spanner" + + ".v1.ReadRequest\032#.google.spanner.v1.Part" + + "ialResultSet\"T\202\323\344\223\002N\"I/v1/{session=proje" + + "cts/*/instances/*/databases/*/sessions/*" + + "}:streamingRead:\001*0\001\022\311\001\n\020BeginTransactio" + + "n\022*.google.spanner.v1.BeginTransactionRe" + + "quest\032\036.google.spanner.v1.Transaction\"i\202" + + "\323\344\223\002Q\"L/v1/{session=projects/*/instances" + + "/*/databases/*/sessions/*}:beginTransact" + + "ion:\001*\332A\017session,options\022\353\001\n\006Commit\022 .go" + + "ogle.spanner.v1.CommitRequest\032!.google.s" + + "panner.v1.CommitResponse\"\233\001\202\323\344\223\002G\"B/v1/{" + + "session=projects/*/instances/*/databases" + + "/*/sessions/*}:commit:\001*\332A session,trans" + + "action_id,mutations\332A(session,single_use" + + "_transaction,mutations\022\260\001\n\010Rollback\022\".go" + + "ogle.spanner.v1.RollbackRequest\032\026.google" + + ".protobuf.Empty\"h\202\323\344\223\002I\"D/v1/{session=pr" + + "ojects/*/instances/*/databases/*/session" + + "s/*}:rollback:\001*\332A\026session,transaction_i" + + "d\022\267\001\n\016PartitionQuery\022(.google.spanner.v1" + + ".PartitionQueryRequest\032$.google.spanner." + + "v1.PartitionResponse\"U\202\323\344\223\002O\"J/v1/{sessi" + + "on=projects/*/instances/*/databases/*/se" + + "ssions/*}:partitionQuery:\001*\022\264\001\n\rPartitio" + + "nRead\022\'.google.spanner.v1.PartitionReadR" + + "equest\032$.google.spanner.v1.PartitionResp" + + "onse\"T\202\323\344\223\002N\"I/v1/{session=projects/*/in" + + "stances/*/databases/*/sessions/*}:partit" + + "ionRead:\001*\032w\312A\026spanner.googleapis.com\322A[" + + "https://www.googleapis.com/auth/cloud-pl" + + "atform,https://www.googleapis.com/auth/s" + + "panner.dataB\224\002\n\025com.google.spanner.v1B\014S" + + "pannerProtoP\001Z8google.golang.org/genprot" + + "o/googleapis/spanner/v1;spanner\252\002\027Google" + + ".Cloud.Spanner.V1\312\002\027Google\\Cloud\\Spanner" + + "\\V1\352\002\032Google::Cloud::Spanner::V1\352A_\n\037spa" + + "nner.googleapis.com/Database\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,59 +112,53 @@ 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; 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
@@ -207,7 +170,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -216,15 +178,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
@@ -236,15 +197,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 { @@ -255,14 +217,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 @@ -270,14 +229,11 @@ public boolean hasType() { return type_ != null; } /** - * - * *
      * The type of the field.
      * 
* * .google.spanner.v1.Type type = 2; - * * @return The type. */ @java.lang.Override @@ -285,8 +241,6 @@ public com.google.spanner.v1.Type getType() { return type_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : type_; } /** - * - * *
      * The type of the field.
      * 
@@ -299,7 +253,6 @@ public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,7 +264,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -331,7 +285,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; @@ -341,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.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; @@ -375,94 +332,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 @@ -472,41 +423,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(); @@ -522,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 @@ -543,8 +492,7 @@ 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); + com.google.spanner.v1.StructType.Field result = new com.google.spanner.v1.StructType.Field(this); result.name_ = name_; if (typeBuilder_ == null) { result.type_ = type_; @@ -559,41 +507,38 @@ public com.google.spanner.v1.StructType.Field 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.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; @@ -635,25 +580,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getTypeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getTypeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -666,8 +610,6 @@ public Builder mergeFrom( 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
@@ -679,13 +621,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; @@ -694,8 +636,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
@@ -707,14 +647,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 { @@ -722,8 +663,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
@@ -735,22 +674,20 @@ public com.google.protobuf.ByteString getNameBytes() {
        * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * The name of the field. For reads, this is the column name. For
        * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -762,18 +699,15 @@ public Builder setName(java.lang.String value) {
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * The name of the field. For reads, this is the column name. For
        * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -785,16 +719,16 @@ public Builder clearName() {
        * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -802,33 +736,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 typeBuilder_ != null || type_ != null; } /** - * - * *
        * The type of the field.
        * 
* * .google.spanner.v1.Type type = 2; - * * @return The type. */ public com.google.spanner.v1.Type getType() { @@ -839,8 +764,6 @@ public com.google.spanner.v1.Type getType() { } } /** - * - * *
        * The type of the field.
        * 
@@ -861,15 +784,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(); onChanged(); @@ -880,8 +802,6 @@ public Builder setType(com.google.spanner.v1.Type.Builder builderForValue) { return this; } /** - * - * *
        * The type of the field.
        * 
@@ -891,7 +811,8 @@ public Builder setType(com.google.spanner.v1.Type.Builder builderForValue) { public Builder mergeType(com.google.spanner.v1.Type value) { if (typeBuilder_ == null) { if (type_ != null) { - type_ = com.google.spanner.v1.Type.newBuilder(type_).mergeFrom(value).buildPartial(); + type_ = + com.google.spanner.v1.Type.newBuilder(type_).mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -903,8 +824,6 @@ public Builder mergeType(com.google.spanner.v1.Type value) { return this; } /** - * - * *
        * The type of the field.
        * 
@@ -923,8 +842,6 @@ public Builder clearType() { return this; } /** - * - * *
        * The type of the field.
        * 
@@ -932,13 +849,11 @@ public Builder clearType() { * .google.spanner.v1.Type type = 2; */ public com.google.spanner.v1.Type.Builder getTypeBuilder() { - + onChanged(); return getTypeFieldBuilder().getBuilder(); } /** - * - * *
        * The type of the field.
        * 
@@ -949,12 +864,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.
        * 
@@ -962,22 +876,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) { @@ -990,12 +900,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(); } @@ -1004,28 +914,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; @@ -1040,13 +949,12 @@ 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; 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
@@ -1063,8 +971,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
@@ -1077,13 +983,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
@@ -1100,8 +1004,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
@@ -1118,8 +1020,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
@@ -1132,12 +1032,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;
@@ -1149,7 +1049,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
     }
@@ -1163,7 +1064,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;
@@ -1173,14 +1075,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;
   }
@@ -1201,135 +1104,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(); @@ -1344,9 +1242,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 @@ -1384,39 +1282,38 @@ public com.google.spanner.v1.StructType buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -1443,10 +1340,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_); } @@ -1478,26 +1374,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) { @@ -1507,28 +1402,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
@@ -1548,8 +1436,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
@@ -1569,8 +1455,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
@@ -1590,8 +1474,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
@@ -1603,7 +1485,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();
@@ -1617,8 +1500,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
@@ -1642,8 +1523,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
@@ -1669,8 +1548,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
@@ -1682,7 +1559,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();
@@ -1696,8 +1574,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
@@ -1709,7 +1585,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());
@@ -1720,8 +1597,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
@@ -1745,8 +1620,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
@@ -1762,7 +1635,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);
@@ -1770,8 +1644,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
@@ -1794,8 +1666,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
@@ -1818,8 +1688,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
@@ -1831,12 +1699,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
@@ -1848,16 +1715,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
@@ -1869,8 +1734,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 {
@@ -1878,8 +1743,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
@@ -1892,12 +1755,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
@@ -1909,13 +1770,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
@@ -1927,29 +1787,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);
     }
 
@@ -1959,12 +1817,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();
   }
@@ -1973,27 +1831,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;
@@ -2008,4 +1866,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 73%
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 a87532926fb..aa4ff77f9ff 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_; /** - * - * *
    * `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
@@ -152,7 +120,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -164,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_);
     }
@@ -181,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;
@@ -194,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;
@@ -228,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(); @@ -372,9 +339,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 @@ -408,39 +375,38 @@ public com.google.spanner.v1.Transaction buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -481,25 +447,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - id_ = input.readBytes(); - - break; - } // case 10 - case 18: - { - input.readMessage(getReadTimestampFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + id_ = input.readBytes(); + + break; + } // case 10 + case 18: { + input.readMessage( + getReadTimestampFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -512,8 +477,6 @@ public Builder mergeFrom( 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],
@@ -525,7 +488,6 @@ public Builder mergeFrom(
      * 
* * bytes id = 1; - * * @return The id. */ @java.lang.Override @@ -533,8 +495,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],
@@ -546,22 +506,19 @@ 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(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
      * `id` may be used to identify the transaction in subsequent
      * [Read][google.spanner.v1.Spanner.Read],
@@ -573,11 +530,10 @@ public Builder setId(com.google.protobuf.ByteString value) {
      * 
* * bytes id = 1; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; @@ -585,13 +541,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
@@ -601,15 +552,12 @@ public Builder clearId() {
      * 
* * .google.protobuf.Timestamp read_timestamp = 2; - * * @return Whether the readTimestamp field is set. */ public boolean hasReadTimestamp() { return readTimestampBuilder_ != null || readTimestamp_ != null; } /** - * - * *
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -619,21 +567,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
@@ -658,8 +601,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
@@ -670,7 +611,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();
         onChanged();
@@ -681,8 +623,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
@@ -697,9 +637,7 @@ public Builder mergeReadTimestamp(com.google.protobuf.Timestamp value) {
       if (readTimestampBuilder_ == null) {
         if (readTimestamp_ != null) {
           readTimestamp_ =
-              com.google.protobuf.Timestamp.newBuilder(readTimestamp_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(readTimestamp_).mergeFrom(value).buildPartial();
         } else {
           readTimestamp_ = value;
         }
@@ -711,8 +649,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
@@ -735,8 +671,6 @@ public Builder clearReadTimestamp() {
       return this;
     }
     /**
-     *
-     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -748,13 +682,11 @@ public Builder clearReadTimestamp() {
      * .google.protobuf.Timestamp read_timestamp = 2;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimestampBuilder() {
-
+      
       onChanged();
       return getReadTimestampFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -769,14 +701,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
@@ -788,24 +717,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);
     }
 
@@ -815,12 +741,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();
   }
@@ -829,27 +755,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;
@@ -864,4 +790,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 df943898387..f74128abebe 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
@@ -275,51 +258,48 @@
  *
  * 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 {}
+      com.google.protobuf.MessageOrBuilder {
+  }
   /**
-   *
-   *
    * 
    * Message type to initiate a read-write transaction. Currently this
    * transaction type has no options.
@@ -327,46 +307,44 @@ 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() {}
+    private ReadWrite() {
+    }
 
     @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);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -378,7 +356,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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);
     }
 
@@ -396,13 +375,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -421,93 +399,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
@@ -517,8 +489,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Message type to initiate a read-write transaction. Currently this
      * transaction type has no options.
@@ -526,33 +496,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();
@@ -560,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_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
@@ -581,8 +551,7 @@ 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);
+        com.google.spanner.v1.TransactionOptions.ReadWrite result = new com.google.spanner.v1.TransactionOptions.ReadWrite(this);
         onBuilt();
         return result;
       }
@@ -591,41 +560,38 @@ public com.google.spanner.v1.TransactionOptions.ReadWrite 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.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;
@@ -633,8 +599,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;
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
         return this;
@@ -661,13 +626,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) {
@@ -677,7 +641,6 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -690,12 +653,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();
     }
@@ -704,28 +667,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;
@@ -740,61 +702,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; @@ -806,7 +765,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -824,13 +784,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; @@ -849,94 +808,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 @@ -946,41 +898,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(); @@ -988,9 +938,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 @@ -1009,8 +959,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; } @@ -1019,41 +968,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; @@ -1061,8 +1007,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; @@ -1089,13 +1034,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) { @@ -1105,7 +1049,6 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1118,12 +1061,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(); } @@ -1132,28 +1075,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; @@ -1168,43 +1110,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
@@ -1216,13 +1150,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
@@ -1234,13 +1165,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
@@ -1256,8 +1184,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
@@ -1273,13 +1199,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
@@ -1295,13 +1218,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
@@ -1321,8 +1241,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
@@ -1337,13 +1255,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
@@ -1358,13 +1273,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
@@ -1383,8 +1295,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.
@@ -1398,13 +1308,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.
@@ -1418,13 +1325,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.
@@ -1442,75 +1346,66 @@ 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 the transaction.
      * 
* * 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), @@ -1519,7 +1414,6 @@ public enum TimestampBoundCase EXACT_STALENESS(5), TIMESTAMPBOUND_NOT_SET(0); private final int value; - private TimestampBoundCase(int value) { this.value = value; } @@ -1535,43 +1429,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 @@ -1579,15 +1464,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 @@ -1600,8 +1482,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
@@ -1613,7 +1493,6 @@ public boolean getStrong() {
      * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; - * * @return Whether the minReadTimestamp field is set. */ @java.lang.Override @@ -1621,8 +1500,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
@@ -1634,19 +1511,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
@@ -1662,15 +1536,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
@@ -1686,7 +1558,6 @@ public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
      * 
* * .google.protobuf.Duration max_staleness = 3; - * * @return Whether the maxStaleness field is set. */ @java.lang.Override @@ -1694,8 +1565,6 @@ public boolean hasMaxStaleness() { return timestampBoundCase_ == 3; } /** - * - * *
      * Read data at a timestamp >= `NOW - max_staleness`
      * seconds. Guarantees that all writes that have committed more
@@ -1711,19 +1580,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
@@ -1743,15 +1609,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
@@ -1766,7 +1630,6 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
      * 
* * .google.protobuf.Timestamp read_timestamp = 4; - * * @return Whether the readTimestamp field is set. */ @java.lang.Override @@ -1774,8 +1637,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
@@ -1790,19 +1651,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
@@ -1821,15 +1679,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.
@@ -1843,7 +1699,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
      * 
* * .google.protobuf.Duration exact_staleness = 5; - * * @return Whether the exactStaleness field is set. */ @java.lang.Override @@ -1851,8 +1706,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.
@@ -1866,19 +1719,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.
@@ -1896,7 +1746,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();
     }
@@ -1904,15 +1754,12 @@ public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
     public static final int RETURN_READ_TIMESTAMP_FIELD_NUMBER = 6;
     private boolean returnReadTimestamp_;
     /**
-     *
-     *
      * 
      * If true, the Cloud Spanner-selected read timestamp is included in
      * the [Transaction][google.spanner.v1.Transaction] message that describes the transaction.
      * 
* * bool return_read_timestamp = 6; - * * @return The returnReadTimestamp. */ @java.lang.Override @@ -1921,7 +1768,6 @@ public boolean getReturnReadTimestamp() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1933,9 +1779,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_); @@ -1962,32 +1810,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; @@ -1997,31 +1842,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: @@ -2038,11 +1888,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; @@ -2069,93 +1921,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 @@ -2165,41 +2011,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(); @@ -2223,9 +2067,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 @@ -2244,8 +2088,7 @@ 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); + com.google.spanner.v1.TransactionOptions.ReadOnly result = new com.google.spanner.v1.TransactionOptions.ReadOnly(this); if (timestampBoundCase_ == 1) { result.timestampBound_ = timestampBound_; } @@ -2287,41 +2130,38 @@ public com.google.spanner.v1.TransactionOptions.ReadOnly 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.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; @@ -2329,41 +2169,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(); @@ -2391,51 +2224,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(); - - 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(); + + 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) { @@ -2445,12 +2277,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() { @@ -2460,31 +2292,26 @@ public Builder clearTimestampBound() { return this; } + /** - * - * *
        * 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() { @@ -2494,15 +2321,12 @@ 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. */ @@ -2513,15 +2337,12 @@ public Builder setStrong(boolean value) { return this; } /** - * - * *
        * Read at a timestamp where all previously committed transactions
        * are visible.
        * 
* * bool strong = 1; - * * @return This builder for chaining. */ public Builder clearStrong() { @@ -2534,13 +2355,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
@@ -2552,7 +2368,6 @@ public Builder clearStrong() {
        * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; - * * @return Whether the minReadTimestamp field is set. */ @java.lang.Override @@ -2560,8 +2375,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
@@ -2573,7 +2386,6 @@ public boolean hasMinReadTimestamp() {
        * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; - * * @return The minReadTimestamp. */ @java.lang.Override @@ -2591,8 +2403,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
@@ -2619,8 +2429,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
@@ -2633,7 +2441,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();
@@ -2644,8 +2453,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
@@ -2660,13 +2467,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;
           }
@@ -2682,8 +2486,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
@@ -2713,8 +2515,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
@@ -2731,8 +2531,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
@@ -2757,8 +2555,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
@@ -2772,38 +2568,27 @@ 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());
           timestampBound_ = null;
         }
         timestampBoundCase_ = 2;
-        onChanged();
-        ;
+        onChanged();;
         return minReadTimestampBuilder_;
       }
 
       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
@@ -2819,7 +2604,6 @@ public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
        * 
* * .google.protobuf.Duration max_staleness = 3; - * * @return Whether the maxStaleness field is set. */ @java.lang.Override @@ -2827,8 +2611,6 @@ public boolean hasMaxStaleness() { return timestampBoundCase_ == 3; } /** - * - * *
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -2844,7 +2626,6 @@ public boolean hasMaxStaleness() {
        * 
* * .google.protobuf.Duration max_staleness = 3; - * * @return The maxStaleness. */ @java.lang.Override @@ -2862,8 +2643,6 @@ public com.google.protobuf.Duration getMaxStaleness() { } } /** - * - * *
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -2894,8 +2673,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
@@ -2912,7 +2689,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();
@@ -2923,8 +2701,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
@@ -2943,13 +2719,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;
           }
@@ -2965,8 +2738,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
@@ -2999,9 +2770,7 @@ public Builder clearMaxStaleness() {
         }
         return this;
       }
-      /**
-       *
-       *
+      /**
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3022,8 +2791,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
@@ -3052,8 +2819,6 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3071,38 +2836,27 @@ 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());
           timestampBound_ = null;
         }
         timestampBoundCase_ = 3;
-        onChanged();
-        ;
+        onChanged();;
         return maxStalenessBuilder_;
       }
 
       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
@@ -3117,7 +2871,6 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
        * 
* * .google.protobuf.Timestamp read_timestamp = 4; - * * @return Whether the readTimestamp field is set. */ @java.lang.Override @@ -3125,8 +2878,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
@@ -3141,7 +2892,6 @@ public boolean hasReadTimestamp() {
        * 
* * .google.protobuf.Timestamp read_timestamp = 4; - * * @return The readTimestamp. */ @java.lang.Override @@ -3159,8 +2909,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
@@ -3190,8 +2938,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
@@ -3207,7 +2953,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();
@@ -3218,8 +2965,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
@@ -3237,13 +2982,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;
           }
@@ -3259,8 +3001,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
@@ -3293,8 +3033,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
@@ -3314,8 +3052,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
@@ -3343,8 +3079,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
@@ -3361,38 +3095,27 @@ 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());
           timestampBound_ = null;
         }
         timestampBoundCase_ = 4;
-        onChanged();
-        ;
+        onChanged();;
         return readTimestampBuilder_;
       }
 
       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.
@@ -3406,7 +3129,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
        * 
* * .google.protobuf.Duration exact_staleness = 5; - * * @return Whether the exactStaleness field is set. */ @java.lang.Override @@ -3414,8 +3136,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.
@@ -3429,7 +3149,6 @@ public boolean hasExactStaleness() {
        * 
* * .google.protobuf.Duration exact_staleness = 5; - * * @return The exactStaleness. */ @java.lang.Override @@ -3447,8 +3166,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.
@@ -3477,8 +3194,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.
@@ -3493,7 +3208,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();
@@ -3504,8 +3220,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.
@@ -3522,13 +3236,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;
           }
@@ -3544,8 +3255,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.
@@ -3577,8 +3286,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.
@@ -3597,8 +3304,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.
@@ -3625,8 +3330,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.
@@ -3642,41 +3345,32 @@ 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());
           timestampBound_ = null;
         }
         timestampBoundCase_ = 5;
-        onChanged();
-        ;
+        onChanged();;
         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 the transaction.
        * 
* * bool return_read_timestamp = 6; - * * @return The returnReadTimestamp. */ @java.lang.Override @@ -3684,43 +3378,36 @@ 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 the transaction.
        * 
* * bool return_read_timestamp = 6; - * * @param value The returnReadTimestamp to set. * @return This builder for chaining. */ public Builder setReturnReadTimestamp(boolean value) { - + returnReadTimestamp_ = value; onChanged(); return this; } /** - * - * *
        * If true, the Cloud Spanner-selected read timestamp is included in
        * the [Transaction][google.spanner.v1.Transaction] message that describes the transaction.
        * 
* * bool return_read_timestamp = 6; - * * @return This builder for chaining. */ public Builder clearReturnReadTimestamp() { - + returnReadTimestamp_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3733,12 +3420,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(); } @@ -3747,28 +3434,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; @@ -3783,21 +3469,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; } @@ -3813,32 +3497,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
@@ -3847,7 +3525,6 @@ public ModeCase getModeCase() {
    * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return Whether the readWrite field is set. */ @java.lang.Override @@ -3855,8 +3532,6 @@ public boolean hasReadWrite() { return modeCase_ == 1; } /** - * - * *
    * Transaction may write.
    * Authorization to begin a read-write transaction requires
@@ -3865,19 +3540,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
@@ -3890,15 +3562,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
@@ -3907,7 +3577,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 @@ -3915,8 +3584,6 @@ public boolean hasPartitionedDml() { return modeCase_ == 3; } /** - * - * *
    * Partitioned DML transaction.
    * Authorization to begin a Partitioned DML transaction requires
@@ -3925,19 +3592,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
@@ -3948,18 +3612,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
@@ -3968,7 +3629,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 @@ -3976,8 +3636,6 @@ public boolean hasReadOnly() { return modeCase_ == 2; } /** - * - * *
    * Transaction will not write.
    * Authorization to begin a read-only transaction requires
@@ -3986,19 +3644,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
@@ -4011,13 +3666,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;
@@ -4029,7 +3683,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_);
     }
@@ -4049,19 +3704,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;
@@ -4071,7 +3723,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);
@@ -4081,13 +3733,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:
@@ -4124,104 +3779,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
@@ -4476,32 +4124,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();
@@ -4520,9 +4169,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
@@ -4541,8 +4190,7 @@ 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);
+      com.google.spanner.v1.TransactionOptions result = new com.google.spanner.v1.TransactionOptions(this);
       if (modeCase_ == 1) {
         if (readWriteBuilder_ == null) {
           result.mode_ = mode_;
@@ -4573,39 +4221,38 @@ public com.google.spanner.v1.TransactionOptions buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -4615,25 +4262,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();
@@ -4661,31 +4304,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) {
@@ -4695,12 +4340,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() {
@@ -4710,14 +4355,10 @@ public Builder clearMode() {
       return this;
     }
 
+
     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
@@ -4726,7 +4367,6 @@ public Builder clearMode() {
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return Whether the readWrite field is set. */ @java.lang.Override @@ -4734,8 +4374,6 @@ public boolean hasReadWrite() { return modeCase_ == 1; } /** - * - * *
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4744,7 +4382,6 @@ public boolean hasReadWrite() {
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return The readWrite. */ @java.lang.Override @@ -4762,8 +4399,6 @@ public com.google.spanner.v1.TransactionOptions.ReadWrite getReadWrite() { } } /** - * - * *
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4787,8 +4422,6 @@ public Builder setReadWrite(com.google.spanner.v1.TransactionOptions.ReadWrite v
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4810,8 +4443,6 @@ public Builder setReadWrite(
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4823,13 +4454,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;
         }
@@ -4845,8 +4473,6 @@ public Builder mergeReadWrite(com.google.spanner.v1.TransactionOptions.ReadWrite
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4873,8 +4499,6 @@ public Builder clearReadWrite() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4888,8 +4512,6 @@ public com.google.spanner.v1.TransactionOptions.ReadWrite.Builder getReadWriteBu
       return getReadWriteFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4911,8 +4533,6 @@ public com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteO
       }
     }
     /**
-     *
-     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4923,38 +4543,27 @@ 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());
         mode_ = null;
       }
       modeCase_ = 1;
-      onChanged();
-      ;
+      onChanged();;
       return readWriteBuilder_;
     }
 
     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
@@ -4963,7 +4572,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 @@ -4971,8 +4579,6 @@ public boolean hasPartitionedDml() { return modeCase_ == 3; } /** - * - * *
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -4981,7 +4587,6 @@ public boolean hasPartitionedDml() {
      * 
* * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3; - * * @return The partitionedDml. */ @java.lang.Override @@ -4999,8 +4604,6 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDml getPartitionedDml } } /** - * - * *
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -5010,8 +4613,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();
@@ -5025,8 +4627,6 @@ public Builder setPartitionedDml(
       return this;
     }
     /**
-     *
-     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -5048,8 +4648,6 @@ public Builder setPartitionedDml(
       return this;
     }
     /**
-     *
-     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -5059,17 +4657,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;
         }
@@ -5085,8 +4678,6 @@ public Builder mergePartitionedDml(
       return this;
     }
     /**
-     *
-     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -5113,8 +4704,6 @@ public Builder clearPartitionedDml() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -5124,13 +4713,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
@@ -5141,8 +4727,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 {
@@ -5153,8 +4738,6 @@ public Builder clearPartitionedDml() {
       }
     }
     /**
-     *
-     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -5165,38 +4748,27 @@ 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());
         mode_ = null;
       }
       modeCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return partitionedDmlBuilder_;
     }
 
     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
@@ -5205,7 +4777,6 @@ public Builder clearPartitionedDml() {
      * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return Whether the readOnly field is set. */ @java.lang.Override @@ -5213,8 +4784,6 @@ public boolean hasReadOnly() { return modeCase_ == 2; } /** - * - * *
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5223,7 +4792,6 @@ public boolean hasReadOnly() {
      * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return The readOnly. */ @java.lang.Override @@ -5241,8 +4809,6 @@ public com.google.spanner.v1.TransactionOptions.ReadOnly getReadOnly() { } } /** - * - * *
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5266,8 +4832,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
@@ -5289,8 +4853,6 @@ public Builder setReadOnly(
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5302,13 +4864,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;
         }
@@ -5324,8 +4883,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
@@ -5352,8 +4909,6 @@ public Builder clearReadOnly() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5367,8 +4922,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
@@ -5390,8 +4943,6 @@ public com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrB
       }
     }
     /**
-     *
-     *
      * 
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5402,32 +4953,26 @@ 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());
         mode_ = null;
       }
       modeCase_ = 2;
-      onChanged();
-      ;
+      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);
     }
 
@@ -5437,12 +4982,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();
   }
@@ -5451,27 +4996,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;
@@ -5486,4 +5031,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..4b0462ca88d
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionProto.java
@@ -0,0 +1,133 @@
+// 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\"\303\004\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\013\n\tReadWrite\032\020\n\016PartitionedDml\032\250\002\n" +
+      "\010ReadOnly\022\020\n\006strong\030\001 \001(\010H\000\0228\n\022min_read_" +
+      "timestamp\030\002 \001(\0132\032.google.protobuf.Timest" +
+      "ampH\000\0222\n\rmax_staleness\030\003 \001(\0132\031.google.pr" +
+      "otobuf.DurationH\000\0224\n\016read_timestamp\030\004 \001(" +
+      "\0132\032.google.protobuf.TimestampH\000\0224\n\017exact" +
+      "_staleness\030\005 \001(\0132\031.google.protobuf.Durat" +
+      "ionH\000\022\035\n\025return_read_timestamp\030\006 \001(\010B\021\n\017" +
+      "timestamp_boundB\006\n\004mode\"M\n\013Transaction\022\n" +
+      "\n\002id\030\001 \001(\014\0222\n\016read_timestamp\030\002 \001(\0132\032.goo" +
+      "gle.protobuf.Timestamp\"\244\001\n\023TransactionSe" +
+      "lector\022;\n\nsingle_use\030\001 \001(\0132%.google.span" +
+      "ner.v1.TransactionOptionsH\000\022\014\n\002id\030\002 \001(\014H" +
+      "\000\0226\n\005begin\030\003 \001(\0132%.google.spanner.v1.Tra" +
+      "nsactionOptionsH\000B\n\n\010selectorB\266\001\n\025com.go" +
+      "ogle.spanner.v1B\020TransactionProtoP\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.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[] { });
+    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 940b3a1f62f..9ece7466236 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
@@ -30,57 +13,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;
     }
@@ -96,32 +75,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
@@ -129,7 +102,6 @@ public SelectorCase getSelectorCase() {
    * 
* * .google.spanner.v1.TransactionOptions single_use = 1; - * * @return Whether the singleUse field is set. */ @java.lang.Override @@ -137,8 +109,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
@@ -146,19 +116,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
@@ -170,21 +137,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 @@ -192,14 +156,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 @@ -212,8 +173,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
@@ -221,7 +180,6 @@ public com.google.protobuf.ByteString getId() {
    * 
* * .google.spanner.v1.TransactionOptions begin = 3; - * * @return Whether the begin field is set. */ @java.lang.Override @@ -229,8 +187,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
@@ -238,19 +194,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
@@ -262,13 +215,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;
@@ -280,12 +232,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_);
@@ -300,19 +254,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;
@@ -322,24 +274,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:
@@ -376,104 +330,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
@@ -483,32 +430,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();
@@ -524,9 +472,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
@@ -545,8 +493,7 @@ 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);
+      com.google.spanner.v1.TransactionSelector result = new com.google.spanner.v1.TransactionSelector(this);
       if (selectorCase_ == 1) {
         if (singleUseBuilder_ == null) {
           result.selector_ = selector_;
@@ -573,39 +520,38 @@ public com.google.spanner.v1.TransactionSelector buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -615,25 +561,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();
@@ -661,31 +603,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) {
@@ -695,12 +637,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() {
@@ -710,14 +652,10 @@ public Builder clearSelector() {
       return this;
     }
 
+
     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
@@ -725,7 +663,6 @@ public Builder clearSelector() {
      * 
* * .google.spanner.v1.TransactionOptions single_use = 1; - * * @return Whether the singleUse field is set. */ @java.lang.Override @@ -733,8 +670,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
@@ -742,7 +677,6 @@ public boolean hasSingleUse() {
      * 
* * .google.spanner.v1.TransactionOptions single_use = 1; - * * @return The singleUse. */ @java.lang.Override @@ -760,8 +694,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
@@ -784,8 +716,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
@@ -794,7 +724,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();
@@ -805,8 +736,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
@@ -817,13 +746,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;
         }
@@ -839,8 +765,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
@@ -866,8 +790,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
@@ -880,8 +802,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
@@ -902,8 +822,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
@@ -913,53 +831,41 @@ 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());
         selector_ = null;
       }
       selectorCase_ = 1;
-      onChanged();
-      ;
+      onChanged();;
       return singleUseBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * 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() { @@ -969,35 +875,29 @@ 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(); - } - selectorCase_ = 2; + 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() { @@ -1010,13 +910,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
@@ -1024,7 +919,6 @@ public Builder clearId() {
      * 
* * .google.spanner.v1.TransactionOptions begin = 3; - * * @return Whether the begin field is set. */ @java.lang.Override @@ -1032,8 +926,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
@@ -1041,7 +933,6 @@ public boolean hasBegin() {
      * 
* * .google.spanner.v1.TransactionOptions begin = 3; - * * @return The begin. */ @java.lang.Override @@ -1059,8 +950,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
@@ -1083,8 +972,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
@@ -1093,7 +980,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();
@@ -1104,8 +992,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
@@ -1116,13 +1002,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;
         }
@@ -1138,8 +1021,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
@@ -1165,8 +1046,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
@@ -1179,8 +1058,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
@@ -1201,8 +1078,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
@@ -1212,32 +1087,26 @@ 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());
         selector_ = null;
       }
       selectorCase_ = 3;
-      onChanged();
-      ;
+      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);
     }
 
@@ -1247,12 +1116,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();
   }
@@ -1261,27 +1130,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;
@@ -1296,4 +1165,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 8e33337d0ce..e93492b2ad9 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
@@ -99,13 +67,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
@@ -113,13 +78,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 76%
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 7657be926d2..7d12a7796e6 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_;
   /**
-   *
-   *
    * 
    * 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() { @SuppressWarnings("deprecation") com.google.spanner.v1.TypeCode result = com.google.spanner.v1.TypeCode.valueOf(code_); return result == null ? com.google.spanner.v1.TypeCode.UNRECOGNIZED : result; @@ -104,15 +80,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 @@ -120,26 +93,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.
@@ -155,15 +121,12 @@ public com.google.spanner.v1.TypeOrBuilder getArrayElementTypeOrBuilder() {
   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 @@ -171,26 +134,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.
@@ -206,8 +162,6 @@ public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
   public static final int TYPE_ANNOTATION_FIELD_NUMBER = 4;
   private int 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
@@ -218,16 +172,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
@@ -238,19 +188,15 @@ public int getTypeAnnotationValue() {
    * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; - * * @return The typeAnnotation. */ - @java.lang.Override - public com.google.spanner.v1.TypeAnnotationCode getTypeAnnotation() { + @java.lang.Override public com.google.spanner.v1.TypeAnnotationCode getTypeAnnotation() { @SuppressWarnings("deprecation") - com.google.spanner.v1.TypeAnnotationCode result = - com.google.spanner.v1.TypeAnnotationCode.valueOf(typeAnnotation_); + com.google.spanner.v1.TypeAnnotationCode result = com.google.spanner.v1.TypeAnnotationCode.valueOf(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; @@ -262,7 +208,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (code_ != com.google.spanner.v1.TypeCode.TYPE_CODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, code_); } @@ -272,8 +219,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); @@ -286,17 +232,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; @@ -306,7 +255,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); @@ -316,11 +265,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; @@ -351,103 +302,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.
@@ -455,30 +400,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();
@@ -502,7 +450,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;
     }
 
@@ -543,39 +492,38 @@ public com.google.spanner.v1.Type buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -622,38 +570,36 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                code_ = input.readEnum();
+            case 8: {
+              code_ = input.readEnum();
 
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(
-                    getArrayElementTypeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getArrayElementTypeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getStructTypeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getStructTypeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            case 32:
-              {
-                typeAnnotation_ = input.readEnum();
+              break;
+            } // case 26
+            case 32: {
+              typeAnnotation_ = input.readEnum();
 
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 32
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -666,47 +612,37 @@ public Builder mergeFrom(
 
     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. */ public Builder setCodeValue(int value) { - + code_ = value; onChanged(); 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 @@ -716,14 +652,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. */ @@ -731,24 +664,21 @@ public Builder setCode(com.google.spanner.v1.TypeCode value) { if (value == null) { throw new NullPointerException(); } - + code_ = value.getNumber(); onChanged(); 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() { - + code_ = 0; onChanged(); return this; @@ -756,49 +686,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 arrayElementTypeBuilder_ != null || 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. */ 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.
@@ -820,8 +737,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.
@@ -829,7 +744,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();
         onChanged();
@@ -840,8 +756,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.
@@ -853,9 +767,7 @@ public Builder mergeArrayElementType(com.google.spanner.v1.Type value) {
       if (arrayElementTypeBuilder_ == null) {
         if (arrayElementType_ != null) {
           arrayElementType_ =
-              com.google.spanner.v1.Type.newBuilder(arrayElementType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.spanner.v1.Type.newBuilder(arrayElementType_).mergeFrom(value).buildPartial();
         } else {
           arrayElementType_ = value;
         }
@@ -867,8 +779,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.
@@ -888,8 +798,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.
@@ -898,13 +806,11 @@ public Builder clearArrayElementType() {
      * .google.spanner.v1.Type array_element_type = 2;
      */
     public com.google.spanner.v1.Type.Builder getArrayElementTypeBuilder() {
-
+      
       onChanged();
       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.
@@ -916,14 +822,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.
@@ -932,17 +835,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_;
@@ -950,49 +850,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 structTypeBuilder_ != null || 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. */ 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.
@@ -1014,8 +901,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.
@@ -1023,7 +908,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();
         onChanged();
@@ -1034,8 +920,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.
@@ -1047,9 +931,7 @@ public Builder mergeStructType(com.google.spanner.v1.StructType value) {
       if (structTypeBuilder_ == null) {
         if (structType_ != null) {
           structType_ =
-              com.google.spanner.v1.StructType.newBuilder(structType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.spanner.v1.StructType.newBuilder(structType_).mergeFrom(value).buildPartial();
         } else {
           structType_ = value;
         }
@@ -1061,8 +943,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.
@@ -1082,8 +962,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.
@@ -1092,13 +970,11 @@ public Builder clearStructType() {
      * .google.spanner.v1.StructType struct_type = 3;
      */
     public com.google.spanner.v1.StructType.Builder getStructTypeBuilder() {
-
+      
       onChanged();
       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.
@@ -1110,14 +986,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.
@@ -1126,17 +999,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_;
@@ -1144,8 +1014,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
@@ -1156,16 +1024,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
@@ -1176,19 +1040,16 @@ 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. */ public Builder setTypeAnnotationValue(int value) { - + typeAnnotation_ = value; onChanged(); 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
@@ -1199,19 +1060,15 @@ 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() { @SuppressWarnings("deprecation") - com.google.spanner.v1.TypeAnnotationCode result = - com.google.spanner.v1.TypeAnnotationCode.valueOf(typeAnnotation_); + com.google.spanner.v1.TypeAnnotationCode result = com.google.spanner.v1.TypeAnnotationCode.valueOf(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
@@ -1222,7 +1079,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. */ @@ -1230,14 +1086,12 @@ public Builder setTypeAnnotation(com.google.spanner.v1.TypeAnnotationCode value) if (value == null) { throw new NullPointerException(); } - + typeAnnotation_ = value.getNumber(); onChanged(); 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
@@ -1248,18 +1102,17 @@ public Builder setTypeAnnotation(com.google.spanner.v1.TypeAnnotationCode value)
      * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; - * * @return This builder for chaining. */ public Builder clearTypeAnnotation() { - + typeAnnotation_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1269,12 +1122,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(); } @@ -1283,27 +1136,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; @@ -1318,4 +1171,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..c6dcb345467 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeProto.java @@ -0,0 +1,97 @@ +// 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\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) +} 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 100% 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 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 100% 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 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 100% 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 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 100% 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 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 93% 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 714d8bea9ea..36df232bcf1 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 @@ -174,6 +174,18 @@ message ResultSetMetadata { // If the read or SQL query began a transaction as a side-effect, the // information about the new transaction is yielded here. Transaction transaction = 2; + + // A SQL query can be parameterized. In PLAN mode, these parameters can be + // undeclared. This indicates the field names and types for those undeclared + // parameters in the SQL query. For example, a SQL query like `"SELECT * FROM + // Users where UserId = @userId and UserName = @userName "` could return a + // `undeclared_parameters` value like: + // + // "fields": [ + // { "name": "UserId", "type": { "code": "INT64" } }, + // { "name": "UserName", "type": { "code": "STRING" } }, + // ] + StructType undeclared_parameters = 3; } // Additional statistics about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet]. 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 100% 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 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 100% 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 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 100% 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 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 4a16d3a312b..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java +++ /dev/null @@ -1,131 +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\"y\n\021ResultSetMetadata\022/\n\010row_type\030\001 \001(" - + "\0132\035.google.spanner.v1.StructType\0223\n\013tran" - + "saction\030\002 \001(\0132\036.google.spanner.v1.Transa" - + "ction\"\271\001\n\016ResultSetStats\0220\n\nquery_plan\030\001" - + " \001(\0132\034.google.spanner.v1.QueryPlan\022,\n\013qu" - + "ery_stats\030\002 \001(\0132\027.google.protobuf.Struct" - + "\022\031\n\017row_count_exact\030\003 \001(\003H\000\022\037\n\025row_count" - + "_lower_bound\030\004 \001(\003H\000B\013\n\trow_countB\267\001\n\025co" - + "m.google.spanner.v1B\016ResultSetProtoP\001Z8g" - + "oogle.golang.org/genproto/googleapis/spa" - + "nner/v1;spanner\370\001\001\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.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", - }); - 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 21c752c5631..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java +++ /dev/null @@ -1,649 +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\"" - + "\344\005\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\032O\n\014QueryOptions\022\031\n\021opt" - + "imizer_version\030\001 \001(\t\022$\n\034optimizer_statis" - + "tics_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.spann" - + "er.v1.Type:\0028\001\".\n\tQueryMode\022\n\n\006NORMAL\020\000\022" - + "\010\n\004PLAN\020\001\022\013\n\007PROFILE\020\002\"\240\004\n\026ExecuteBatchD" - + "mlRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036span" - + "ner.googleapis.com/Session\022@\n\013transactio" - + "n\030\002 \001(\0132&.google.spanner.v1.TransactionS" - + "electorB\003\340A\002\022L\n\nstatements\030\003 \003(\01323.googl" - + "e.spanner.v1.ExecuteBatchDmlRequest.Stat" - + "ementB\003\340A\002\022\022\n\005seqno\030\004 \001(\003B\003\340A\002\022:\n\017reques" - + "t_options\030\005 \001(\0132!.google.spanner.v1.Requ" - + "estOptions\032\354\001\n\tStatement\022\020\n\003sql\030\001 \001(\tB\003\340" - + "A\002\022\'\n\006params\030\002 \001(\0132\027.google.protobuf.Str" - + "uct\022X\n\013param_types\030\003 \003(\0132C.google.spanne" - + "r.v1.ExecuteBatchDmlRequest.Statement.Pa" - + "ramTypesEntry\032J\n\017ParamTypesEntry\022\013\n\003key\030" - + "\001 \001(\t\022&\n\005value\030\002 \001(\0132\027.google.spanner.v1" - + ".Type:\0028\001\"p\n\027ExecuteBatchDmlResponse\0221\n\013" - + "result_sets\030\001 \003(\0132\034.google.spanner.v1.Re" - + "sultSet\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Sta" - + "tus\"H\n\020PartitionOptions\022\034\n\024partition_siz" - + "e_bytes\030\001 \001(\003\022\026\n\016max_partitions\030\002 \001(\003\"\243\003" - + "\n\025PartitionQueryRequest\0227\n\007session\030\001 \001(\t" - + "B&\340A\002\372A \n\036spanner.googleapis.com/Session" - + "\022;\n\013transaction\030\002 \001(\0132&.google.spanner.v" - + "1.TransactionSelector\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_types\030\005 \003(\01328.google.spanner.v" - + "1.PartitionQueryRequest.ParamTypesEntry\022" - + ">\n\021partition_options\030\006 \001(\0132#.google.span" - + "ner.v1.PartitionOptions\032J\n\017ParamTypesEnt" - + "ry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027.google." - + "spanner.v1.Type:\0028\001\"\261\002\n\024PartitionReadReq" - + "uest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.g" - + "oogleapis.com/Session\022;\n\013transaction\030\002 \001" - + "(\0132&.google.spanner.v1.TransactionSelect" - + "or\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_opt" - + "ions\030\t \001(\0132#.google.spanner.v1.Partition" - + "Options\"$\n\tPartition\022\027\n\017partition_token\030" - + "\001 \001(\014\"z\n\021PartitionResponse\0220\n\npartitions" - + "\030\001 \003(\0132\034.google.spanner.v1.Partition\0223\n\013" - + "transaction\030\002 \001(\0132\036.google.spanner.v1.Tr" - + "ansaction\"\347\002\n\013ReadRequest\0227\n\007session\030\001 \001" - + "(\tB&\340A\002\372A \n\036spanner.googleapis.com/Sessi" - + "on\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\024\n\007columns\030\005 \003(\tB\003\340A\002" - + "\022/\n\007key_set\030\006 \001(\0132\031.google.spanner.v1.Ke" - + "ySetB\003\340A\002\022\r\n\005limit\030\010 \001(\003\022\024\n\014resume_token" - + "\030\t \001(\014\022\027\n\017partition_token\030\n \001(\014\022:\n\017reque" - + "st_options\030\013 \001(\0132!.google.spanner.v1.Req" - + "uestOptions\"\313\001\n\027BeginTransactionRequest\022" - + "7\n\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.google" - + "apis.com/Session\022;\n\007options\030\002 \001(\0132%.goog" - + "le.spanner.v1.TransactionOptionsB\003\340A\002\022:\n" - + "\017request_options\030\003 \001(\0132!.google.spanner." - + "v1.RequestOptions\"\303\002\n\rCommitRequest\0227\n\007s" - + "ession\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleapis" - + ".com/Session\022\030\n\016transaction_id\030\002 \001(\014H\000\022G" - + "\n\026single_use_transaction\030\003 \001(\0132%.google." - + "spanner.v1.TransactionOptionsH\000\022.\n\tmutat" - + "ions\030\004 \003(\0132\033.google.spanner.v1.Mutation\022" - + "\033\n\023return_commit_stats\030\005 \001(\010\022:\n\017request_" - + "options\030\006 \001(\0132!.google.spanner.v1.Reques" - + "tOptionsB\r\n\013transaction\"g\n\017RollbackReque" - + "st\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.goo" - + "gleapis.com/Session\022\033\n\016transaction_id\030\002 " - + "\001(\014B\003\340A\0022\300\026\n\007Spanner\022\246\001\n\rCreateSession\022\'" - + ".google.spanner.v1.CreateSessionRequest\032" - + "\032.google.spanner.v1.Session\"P\202\323\344\223\002?\":/v1" - + "/{database=projects/*/instances/*/databa" - + "ses/*}/sessions:\001*\332A\010database\022\340\001\n\023BatchC" - + "reateSessions\022-.google.spanner.v1.BatchC" - + "reateSessionsRequest\032..google.spanner.v1" - + ".BatchCreateSessionsResponse\"j\202\323\344\223\002K\"F/v" - + "1/{database=projects/*/instances/*/datab" - + "ases/*}/sessions:batchCreate:\001*\332A\026databa" - + "se,session_count\022\227\001\n\nGetSession\022$.google" - + ".spanner.v1.GetSessionRequest\032\032.google.s" - + "panner.v1.Session\"G\202\323\344\223\002:\0228/v1/{name=pro" - + "jects/*/instances/*/databases/*/sessions" - + "/*}\332A\004name\022\256\001\n\014ListSessions\022&.google.spa" - + "nner.v1.ListSessionsRequest\032\'.google.spa" - + "nner.v1.ListSessionsResponse\"M\202\323\344\223\002<\022:/v" - + "1/{database=projects/*/instances/*/datab" - + "ases/*}/sessions\332A\010database\022\231\001\n\rDeleteSe" - + "ssion\022\'.google.spanner.v1.DeleteSessionR" - + "equest\032\026.google.protobuf.Empty\"G\202\323\344\223\002:*8" - + "/v1/{name=projects/*/instances/*/databas" - + "es/*/sessions/*}\332A\004name\022\243\001\n\nExecuteSql\022$" - + ".google.spanner.v1.ExecuteSqlRequest\032\034.g" - + "oogle.spanner.v1.ResultSet\"Q\202\323\344\223\002K\"F/v1/" - + "{session=projects/*/instances/*/database" - + "s/*/sessions/*}:executeSql:\001*\022\276\001\n\023Execut" - + "eStreamingSql\022$.google.spanner.v1.Execut" - + "eSqlRequest\032#.google.spanner.v1.PartialR" - + "esultSet\"Z\202\323\344\223\002T\"O/v1/{session=projects/" - + "*/instances/*/databases/*/sessions/*}:ex" - + "ecuteStreamingSql:\001*0\001\022\300\001\n\017ExecuteBatchD" - + "ml\022).google.spanner.v1.ExecuteBatchDmlRe" - + "quest\032*.google.spanner.v1.ExecuteBatchDm" - + "lResponse\"V\202\323\344\223\002P\"K/v1/{session=projects" - + "/*/instances/*/databases/*/sessions/*}:e" - + "xecuteBatchDml:\001*\022\221\001\n\004Read\022\036.google.span" - + "ner.v1.ReadRequest\032\034.google.spanner.v1.R" - + "esultSet\"K\202\323\344\223\002E\"@/v1/{session=projects/" - + "*/instances/*/databases/*/sessions/*}:re" - + "ad:\001*\022\254\001\n\rStreamingRead\022\036.google.spanner" - + ".v1.ReadRequest\032#.google.spanner.v1.Part" - + "ialResultSet\"T\202\323\344\223\002N\"I/v1/{session=proje" - + "cts/*/instances/*/databases/*/sessions/*" - + "}:streamingRead:\001*0\001\022\311\001\n\020BeginTransactio" - + "n\022*.google.spanner.v1.BeginTransactionRe" - + "quest\032\036.google.spanner.v1.Transaction\"i\202" - + "\323\344\223\002Q\"L/v1/{session=projects/*/instances" - + "/*/databases/*/sessions/*}:beginTransact" - + "ion:\001*\332A\017session,options\022\353\001\n\006Commit\022 .go" - + "ogle.spanner.v1.CommitRequest\032!.google.s" - + "panner.v1.CommitResponse\"\233\001\202\323\344\223\002G\"B/v1/{" - + "session=projects/*/instances/*/databases" - + "/*/sessions/*}:commit:\001*\332A session,trans" - + "action_id,mutations\332A(session,single_use" - + "_transaction,mutations\022\260\001\n\010Rollback\022\".go" - + "ogle.spanner.v1.RollbackRequest\032\026.google" - + ".protobuf.Empty\"h\202\323\344\223\002I\"D/v1/{session=pr" - + "ojects/*/instances/*/databases/*/session" - + "s/*}:rollback:\001*\332A\026session,transaction_i" - + "d\022\267\001\n\016PartitionQuery\022(.google.spanner.v1" - + ".PartitionQueryRequest\032$.google.spanner." - + "v1.PartitionResponse\"U\202\323\344\223\002O\"J/v1/{sessi" - + "on=projects/*/instances/*/databases/*/se" - + "ssions/*}:partitionQuery:\001*\022\264\001\n\rPartitio" - + "nRead\022\'.google.spanner.v1.PartitionReadR" - + "equest\032$.google.spanner.v1.PartitionResp" - + "onse\"T\202\323\344\223\002N\"I/v1/{session=projects/*/in" - + "stances/*/databases/*/sessions/*}:partit" - + "ionRead:\001*\032w\312A\026spanner.googleapis.com\322A[" - + "https://www.googleapis.com/auth/cloud-pl" - + "atform,https://www.googleapis.com/auth/s" - + "panner.dataB\224\002\n\025com.google.spanner.v1B\014S" - + "pannerProtoP\001Z8google.golang.org/genprot" - + "o/googleapis/spanner/v1;spanner\252\002\027Google" - + ".Cloud.Spanner.V1\312\002\027Google\\Cloud\\Spanner" - + "\\V1\352\002\032Google::Cloud::Spanner::V1\352A_\n\037spa" - + "nner.googleapis.com/Database\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 0b61a2ac638e25928776e2d1dd5f5c6c0719b0e6 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 10 Oct 2022 10:52:49 +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 | 1932 +++++++++----- .../admin/instance/v1/InstanceAdminGrpc.java | 1484 +++++++---- .../com/google/spanner/v1/SpannerGrpc.java | 1399 ++++++---- .../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 | 1314 ---------- .../cloud/spanner/v1/SpannerClientTest.java | 1352 ---------- .../admin/database/v1/BackupProto.java | 324 --- .../admin/database/v1/CommonProto.java | 118 - .../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 | 61 - .../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 | 582 ----- .../google/spanner/v1/TransactionProto.java | 133 - .../java/com/google/spanner/v1/TypeProto.java | 97 - .../spanner/admin/database/v1/Backup.java | 1579 ++++++++---- .../spanner/admin/database/v1/BackupInfo.java | 562 ++-- .../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 | 135 + .../v1/CopyBackupEncryptionConfig.java | 565 ++-- .../CopyBackupEncryptionConfigOrBuilder.java | 52 +- .../admin/database/v1/CopyBackupMetadata.java | 570 +++-- .../v1/CopyBackupMetadataOrBuilder.java | 52 +- .../admin/database/v1/CopyBackupRequest.java | 814 +++--- .../v1/CopyBackupRequestOrBuilder.java | 101 +- .../v1/CreateBackupEncryptionConfig.java | 573 +++-- ...CreateBackupEncryptionConfigOrBuilder.java | 52 +- .../database/v1/CreateBackupMetadata.java | 570 +++-- .../v1/CreateBackupMetadataOrBuilder.java | 52 +- .../database/v1/CreateBackupRequest.java | 717 ++++-- .../v1/CreateBackupRequestOrBuilder.java | 87 +- .../database/v1/CreateDatabaseMetadata.java | 330 +-- .../v1/CreateDatabaseMetadataOrBuilder.java | 27 +- .../database/v1/CreateDatabaseRequest.java | 786 ++++-- .../v1/CreateDatabaseRequestOrBuilder.java | 96 +- .../spanner/admin/database/v1/Database.java | 1548 +++++++---- .../admin/database/v1/DatabaseDialect.java | 82 +- .../admin/database/v1/DatabaseName.java | 0 .../admin/database/v1/DatabaseOrBuilder.java | 185 +- .../admin/database/v1/DatabaseRole.java | 327 +-- .../database/v1/DatabaseRoleOrBuilder.java | 27 +- .../database/v1/DeleteBackupRequest.java | 358 +-- .../v1/DeleteBackupRequestOrBuilder.java | 58 + .../database/v1/DropDatabaseRequest.java | 358 +-- .../v1/DropDatabaseRequestOrBuilder.java | 54 + .../admin/database/v1/EncryptionConfig.java | 330 +-- .../v1/EncryptionConfigOrBuilder.java | 27 +- .../admin/database/v1/EncryptionInfo.java | 646 +++-- .../database/v1/EncryptionInfoOrBuilder.java | 66 +- .../admin/database/v1/GetBackupRequest.java | 358 +-- .../v1/GetBackupRequestOrBuilder.java | 58 + .../database/v1/GetDatabaseDdlRequest.java | 358 +-- .../v1/GetDatabaseDdlRequestOrBuilder.java | 58 + .../database/v1/GetDatabaseDdlResponse.java | 358 +-- .../v1/GetDatabaseDdlResponseOrBuilder.java | 36 +- .../admin/database/v1/GetDatabaseRequest.java | 358 +-- .../v1/GetDatabaseRequestOrBuilder.java | 56 + .../admin/database/v1/InstanceName.java | 0 .../v1/ListBackupOperationsRequest.java | 565 ++-- .../ListBackupOperationsRequestOrBuilder.java | 56 +- .../v1/ListBackupOperationsResponse.java | 512 ++-- ...ListBackupOperationsResponseOrBuilder.java | 46 +- .../admin/database/v1/ListBackupsRequest.java | 545 ++-- .../v1/ListBackupsRequestOrBuilder.java | 56 +- .../database/v1/ListBackupsResponse.java | 486 ++-- .../v1/ListBackupsResponseOrBuilder.java | 45 +- .../v1/ListDatabaseOperationsRequest.java | 577 +++-- ...istDatabaseOperationsRequestOrBuilder.java | 56 +- .../v1/ListDatabaseOperationsResponse.java | 519 ++-- ...stDatabaseOperationsResponseOrBuilder.java | 46 +- .../database/v1/ListDatabaseRolesRequest.java | 479 ++-- .../v1/ListDatabaseRolesRequestOrBuilder.java | 47 +- .../v1/ListDatabaseRolesResponse.java | 486 ++-- .../ListDatabaseRolesResponseOrBuilder.java | 45 +- .../database/v1/ListDatabasesRequest.java | 472 ++-- .../v1/ListDatabasesRequestOrBuilder.java | 47 +- .../database/v1/ListDatabasesResponse.java | 486 ++-- .../v1/ListDatabasesResponseOrBuilder.java | 45 +- .../admin/database/v1/OperationProgress.java | 437 ++-- .../v1/OperationProgressOrBuilder.java | 37 +- .../v1/OptimizeRestoredDatabaseMetadata.java | 451 ++-- ...mizeRestoredDatabaseMetadataOrBuilder.java | 35 +- .../v1/RestoreDatabaseEncryptionConfig.java | 580 +++-- ...toreDatabaseEncryptionConfigOrBuilder.java | 52 +- .../database/v1/RestoreDatabaseMetadata.java | 790 +++--- .../v1/RestoreDatabaseMetadataOrBuilder.java | 69 +- .../database/v1/RestoreDatabaseRequest.java | 726 ++++-- .../v1/RestoreDatabaseRequestOrBuilder.java | 79 +- .../admin/database/v1/RestoreInfo.java | 448 ++-- .../database/v1/RestoreInfoOrBuilder.java | 32 +- .../admin/database/v1/RestoreSourceType.java | 77 +- .../v1/SpannerDatabaseAdminProto.java | 591 +++++ .../database/v1/UpdateBackupRequest.java | 506 ++-- .../v1/UpdateBackupRequestOrBuilder.java | 55 +- .../v1/UpdateDatabaseDdlMetadata.java | 791 +++--- .../UpdateDatabaseDdlMetadataOrBuilder.java | 84 +- .../database/v1/UpdateDatabaseDdlRequest.java | 549 ++-- .../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 | 76 + .../v1/CreateInstanceConfigMetadata.java | 534 ++-- ...CreateInstanceConfigMetadataOrBuilder.java | 42 +- .../v1/CreateInstanceConfigRequest.java | 624 +++-- .../CreateInstanceConfigRequestOrBuilder.java | 67 +- .../instance/v1/CreateInstanceMetadata.java | 577 +++-- .../v1/CreateInstanceMetadataOrBuilder.java | 50 +- .../instance/v1/CreateInstanceRequest.java | 565 ++-- .../v1/CreateInstanceRequestOrBuilder.java | 64 +- .../v1/DeleteInstanceConfigRequest.java | 495 ++-- .../DeleteInstanceConfigRequestOrBuilder.java | 47 +- .../instance/v1/DeleteInstanceRequest.java | 358 +-- .../v1/DeleteInstanceRequestOrBuilder.java | 56 + .../instance/v1/GetInstanceConfigRequest.java | 365 +-- .../v1/GetInstanceConfigRequestOrBuilder.java | 56 + .../admin/instance/v1/GetInstanceRequest.java | 435 ++-- .../v1/GetInstanceRequestOrBuilder.java | 43 +- .../spanner/admin/instance/v1/Instance.java | 1365 ++++++---- .../admin/instance/v1/InstanceConfig.java | 1692 +++++++----- .../admin/instance/v1/InstanceConfigName.java | 0 .../instance/v1/InstanceConfigOrBuilder.java | 190 +- .../admin/instance/v1/InstanceName.java | 0 .../admin/instance/v1/InstanceOrBuilder.java | 156 +- .../ListInstanceConfigOperationsRequest.java | 594 +++-- ...tanceConfigOperationsRequestOrBuilder.java | 56 +- .../ListInstanceConfigOperationsResponse.java | 537 ++-- ...anceConfigOperationsResponseOrBuilder.java | 46 +- .../v1/ListInstanceConfigsRequest.java | 492 ++-- .../ListInstanceConfigsRequestOrBuilder.java | 47 +- .../v1/ListInstanceConfigsResponse.java | 492 ++-- .../ListInstanceConfigsResponseOrBuilder.java | 42 +- .../instance/v1/ListInstancesRequest.java | 545 ++-- .../v1/ListInstancesRequestOrBuilder.java | 56 +- .../instance/v1/ListInstancesResponse.java | 486 ++-- .../v1/ListInstancesResponseOrBuilder.java | 45 +- .../admin/instance/v1/OperationProgress.java | 437 ++-- .../v1/OperationProgressOrBuilder.java | 37 +- .../admin/instance/v1/ProjectName.java | 0 .../admin/instance/v1/ReplicaInfo.java | 512 ++-- .../instance/v1/ReplicaInfoOrBuilder.java | 36 +- .../v1/SpannerInstanceAdminProto.java | 594 +++++ .../v1/UpdateInstanceConfigMetadata.java | 534 ++-- ...UpdateInstanceConfigMetadataOrBuilder.java | 42 +- .../v1/UpdateInstanceConfigRequest.java | 562 ++-- .../UpdateInstanceConfigRequestOrBuilder.java | 58 +- .../instance/v1/UpdateInstanceMetadata.java | 577 +++-- .../v1/UpdateInstanceMetadataOrBuilder.java | 50 +- .../instance/v1/UpdateInstanceRequest.java | 497 ++-- .../v1/UpdateInstanceRequestOrBuilder.java | 55 +- .../spanner/admin/instance/v1/common.proto | 0 .../instance/v1/spanner_instance_admin.proto | 0 .../v1/BatchCreateSessionsRequest.java | 479 ++-- .../BatchCreateSessionsRequestOrBuilder.java | 46 +- .../v1/BatchCreateSessionsResponse.java | 410 +-- .../BatchCreateSessionsResponseOrBuilder.java | 37 +- .../spanner/v1/BeginTransactionRequest.java | 568 ++-- .../v1/BeginTransactionRequestOrBuilder.java | 63 +- .../com/google/spanner/v1/CommitRequest.java | 817 +++--- .../spanner/v1/CommitRequestOrBuilder.java | 79 +- .../com/google/spanner/v1/CommitResponse.java | 683 +++-- .../spanner/v1/CommitResponseOrBuilder.java | 34 +- .../spanner/v1/CommitResponseProto.java | 86 + .../spanner/v1/CreateSessionRequest.java | 452 ++-- .../v1/CreateSessionRequestOrBuilder.java | 43 +- .../com/google/spanner/v1/DatabaseName.java | 0 .../spanner/v1/DeleteSessionRequest.java | 348 +-- .../v1/DeleteSessionRequestOrBuilder.java | 54 + .../spanner/v1/ExecuteBatchDmlRequest.java | 1523 ++++++----- .../v1/ExecuteBatchDmlRequestOrBuilder.java | 104 +- .../spanner/v1/ExecuteBatchDmlResponse.java | 468 ++-- .../v1/ExecuteBatchDmlResponseOrBuilder.java | 45 +- .../google/spanner/v1/ExecuteSqlRequest.java | 1639 +++++++----- .../v1/ExecuteSqlRequestOrBuilder.java | 122 +- .../google/spanner/v1/GetSessionRequest.java | 345 +-- .../v1/GetSessionRequestOrBuilder.java | 54 + .../java/com/google/spanner/v1/KeyRange.java | 694 +++-- .../google/spanner/v1/KeyRangeOrBuilder.java | 50 +- .../java/com/google/spanner/v1/KeySet.java | 581 +++-- .../google/spanner/v1/KeySetOrBuilder.java | 59 +- .../java/com/google/spanner/v1/KeysProto.java | 89 + .../spanner/v1/ListSessionsRequest.java | 535 ++-- .../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 | 644 +++-- .../spanner/v1/PartialResultSetOrBuilder.java | 59 +- .../java/com/google/spanner/v1/Partition.java | 265 +- .../google/spanner/v1/PartitionOptions.java | 313 ++- .../spanner/v1/PartitionOptionsOrBuilder.java | 24 +- .../google/spanner/v1/PartitionOrBuilder.java | 40 + .../spanner/v1/PartitionQueryRequest.java | 918 ++++--- .../v1/PartitionQueryRequestOrBuilder.java | 99 +- .../spanner/v1/PartitionReadRequest.java | 865 ++++--- .../v1/PartitionReadRequestOrBuilder.java | 95 +- .../google/spanner/v1/PartitionResponse.java | 481 ++-- .../v1/PartitionResponseOrBuilder.java | 45 +- .../java/com/google/spanner/v1/PlanNode.java | 1916 ++++++++------ .../google/spanner/v1/PlanNodeOrBuilder.java | 78 +- .../java/com/google/spanner/v1/QueryPlan.java | 390 +-- .../google/spanner/v1/QueryPlanOrBuilder.java | 37 +- .../com/google/spanner/v1/QueryPlanProto.java | 143 ++ .../com/google/spanner/v1/ReadRequest.java | 974 ++++--- .../spanner/v1/ReadRequestOrBuilder.java | 104 +- .../com/google/spanner/v1/RequestOptions.java | 527 ++-- .../spanner/v1/RequestOptionsOrBuilder.java | 42 +- .../java/com/google/spanner/v1/ResultSet.java | 557 ++-- .../google/spanner/v1/ResultSetMetadata.java | 489 ++-- .../v1/ResultSetMetadataOrBuilder.java | 42 +- .../google/spanner/v1/ResultSetOrBuilder.java | 53 +- .../com/google/spanner/v1/ResultSetProto.java | 133 + .../com/google/spanner/v1/ResultSetStats.java | 541 ++-- .../spanner/v1/ResultSetStatsOrBuilder.java | 46 +- .../google/spanner/v1/RollbackRequest.java | 381 +-- .../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 | 104 +- .../com/google/spanner/v1/SpannerProto.java | 649 +++++ .../com/google/spanner/v1/StructType.java | 780 +++--- .../spanner/v1/StructTypeOrBuilder.java | 36 +- .../com/google/spanner/v1/Transaction.java | 360 +-- .../google/spanner/v1/TransactionOptions.java | 1853 +++++++++----- .../v1/TransactionOptionsOrBuilder.java | 42 +- .../spanner/v1/TransactionOrBuilder.java | 29 +- .../google/spanner/v1/TransactionProto.java | 155 ++ .../spanner/v1/TransactionSelector.java | 533 ++-- .../v1/TransactionSelectorOrBuilder.java | 40 +- .../main/java/com/google/spanner/v1/Type.java | 499 ++-- .../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 | 113 + .../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, 49425 insertions(+), 41043 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 (53%) 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 (62%) 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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/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 (62%) 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 (62%) 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 (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/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 (63%) 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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/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 (63%) 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 (63%) 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 (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/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 (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/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 (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/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 (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/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 (68%) 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 (70%) 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 (66%) 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 (76%) 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 (72%) 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 (79%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java (87%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/GetSessionRequest.java (61%) 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 (77%) 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 (76%) 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 (72%) 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 (86%) 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 (77%) 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 (74%) 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 (64%) 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 (73%) 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 (76%) 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 61b0a5c0876..9a353025074 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 f7d89c7a3f8..8f649502f18 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 @@ -34,7 +34,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 6a85d858991..bed7960d4f0 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 2a79a374615..ac4c5855247 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 @@ -32,7 +32,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 56b3f3fc38b..dd3d71d6396 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 53% 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 981a051811d..3f1113711a9 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:
@@ -666,19 +949,26 @@ public DatabaseAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOpti
    *   * restore a database from an existing backup
    * 
*/ - public static abstract class DatabaseAdminImplBase implements io.grpc.BindableService { + public abstract static class DatabaseAdminImplBase implements io.grpc.BindableService { /** + * + * *
      * Lists Cloud Spanner databases.
      * 
*/ - public void listDatabases(com.google.spanner.admin.database.v1.ListDatabasesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDatabasesMethod(), responseObserver); + public 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 @@ 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateDatabaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDatabaseMethod(), 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDatabaseMethod(), responseObserver); + public 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 @@ 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.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 @@ 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.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.
      * 
*/ - public void getDatabaseDdl(com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDatabaseDdlMethod(), responseObserver); + public 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 @@ 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.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 @@ 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.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 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); } /** + * + * *
      * Starts creating a new Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -812,12 +1137,16 @@ 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.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 @@ 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.ServerCalls.asyncUnimplementedUnaryCall(getCopyBackupMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getUpdateBackupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateBackupMethod(), 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.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`.
      * 
*/ - public void listBackups(com.google.spanner.admin.database.v1.ListBackupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupsMethod(), responseObserver); + public 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 @@ 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.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 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDatabaseOperationsMethod(), 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.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,161 +1295,161 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupOperationsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getListBackupOperationsMethod(), responseObserver); } /** + * + * *
      * Lists Cloud Spanner database roles.
      * 
*/ - public void listDatabaseRoles(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDatabaseRolesMethod(), responseObserver); + public void listDatabaseRoles( + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDatabaseRolesMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListDatabasesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.ListDatabasesRequest, - com.google.spanner.admin.database.v1.ListDatabasesResponse>( - this, 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>( + this, METHODID_LIST_DATABASES))) .addMethod( - getCreateDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.CreateDatabaseRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_DATABASE))) + getCreateDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.CreateDatabaseRequest, + com.google.longrunning.Operation>(this, 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>( - this, 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>(this, METHODID_GET_DATABASE))) .addMethod( - getUpdateDatabaseDdlMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_DATABASE_DDL))) + getUpdateDatabaseDdlMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_DATABASE_DDL))) .addMethod( - getDropDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.DropDatabaseRequest, - com.google.protobuf.Empty>( - this, METHODID_DROP_DATABASE))) + getDropDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.DropDatabaseRequest, + com.google.protobuf.Empty>(this, 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>( - this, 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>( + this, METHODID_GET_DATABASE_DDL))) .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getCreateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.CreateBackupRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_BACKUP))) + getCreateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.CreateBackupRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_BACKUP))) .addMethod( - getCopyBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.CopyBackupRequest, - com.google.longrunning.Operation>( - this, METHODID_COPY_BACKUP))) + getCopyBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.CopyBackupRequest, + com.google.longrunning.Operation>(this, 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>( - this, 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>(this, 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>( - this, 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>(this, METHODID_UPDATE_BACKUP))) .addMethod( - getDeleteBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.DeleteBackupRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_BACKUP))) + getDeleteBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.DeleteBackupRequest, + com.google.protobuf.Empty>(this, 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>( - this, 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>( + this, METHODID_LIST_BACKUPS))) .addMethod( - getRestoreDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.RestoreDatabaseRequest, - com.google.longrunning.Operation>( - this, METHODID_RESTORE_DATABASE))) + getRestoreDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.RestoreDatabaseRequest, + com.google.longrunning.Operation>(this, 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>( - this, 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>( + this, 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>( - this, 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>( + this, 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>( - this, 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>( + this, METHODID_LIST_DATABASE_ROLES))) .build(); } } /** + * + * *
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -1101,30 +1459,37 @@ public void listDatabaseRoles(com.google.spanner.admin.database.v1.ListDatabaseR
    *   * restore a database from an existing backup
    * 
*/ - public static final class DatabaseAdminStub extends io.grpc.stub.AbstractAsyncStub { - private DatabaseAdminStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class DatabaseAdminStub + extends io.grpc.stub.AbstractAsyncStub { + 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
@@ -1136,24 +1501,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
@@ -1164,13 +1540,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
@@ -1179,26 +1560,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.
@@ -1208,13 +1600,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
@@ -1225,13 +1622,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.
@@ -1244,13 +1646,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]
@@ -1266,13 +1674,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]
@@ -1288,59 +1701,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
@@ -1361,13 +1796,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
@@ -1379,13 +1819,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
@@ -1399,25 +1846,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); } } /** + * + * *
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -1427,9 +1887,9 @@ public void listDatabaseRoles(com.google.spanner.admin.database.v1.ListDatabaseR
    *   * restore a database from an existing backup
    * 
*/ - public static final class DatabaseAdminBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private DatabaseAdminBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class DatabaseAdminBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DatabaseAdminBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1440,16 +1900,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
@@ -1461,22 +1926,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
@@ -1487,12 +1958,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
@@ -1501,24 +1975,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.
@@ -1534,6 +2014,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
@@ -1550,6 +2032,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.
@@ -1562,12 +2046,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]
@@ -1583,12 +2070,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]
@@ -1604,54 +2094,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
@@ -1672,12 +2177,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
@@ -1689,12 +2197,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
@@ -1708,23 +2220,29 @@ 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); } } /** + * + * *
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -1734,9 +2252,9 @@ public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse listDataba
    *   * restore a database from an existing backup
    * 
*/ - public static final class DatabaseAdminFutureStub extends io.grpc.stub.AbstractFutureStub { - private DatabaseAdminFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class DatabaseAdminFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DatabaseAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1747,17 +2265,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
@@ -1769,24 +2292,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
@@ -1797,13 +2325,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
@@ -1812,26 +2342,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.
@@ -1841,13 +2376,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
@@ -1858,13 +2395,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.
@@ -1877,13 +2416,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]
@@ -1899,13 +2441,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]
@@ -1921,59 +2465,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
@@ -1994,13 +2551,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
@@ -2012,13 +2571,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
@@ -2032,19 +2595,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); } @@ -2070,11 +2638,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 DatabaseAdminImplBase serviceImpl; private final int methodId; @@ -2088,80 +2656,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(); @@ -2179,8 +2782,9 @@ public io.grpc.stub.StreamObserver invoke( } } - 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 @@ -2222,28 +2826,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 62% 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 bf53adbe69d..8e01cc281ad 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,
@@ -535,29 +758,42 @@ public InstanceAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOpti
    * databases in that instance, and their performance may suffer.
    * 
*/ - public static abstract class InstanceAdminImplBase implements io.grpc.BindableService { + public abstract static class InstanceAdminImplBase implements io.grpc.BindableService { /** + * + * *
      * 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstanceConfigsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getListInstanceConfigsMethod(), responseObserver); } /** + * + * *
      * Gets information about a particular instance configuration.
      * 
*/ - public void getInstanceConfig(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceConfigMethod(), responseObserver); + public 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 @@ 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.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 @@ 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.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 @@ 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.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 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstanceConfigOperationsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getListInstanceConfigOperationsMethod(), responseObserver); } /** + * + * *
      * Lists all instances in the given project.
      * 
*/ - public void listInstances(com.google.spanner.admin.instance.v1.ListInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancesMethod(), responseObserver); + public 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.
      * 
*/ - public void getInstance(com.google.spanner.admin.instance.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceMethod(), responseObserver); + public 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 @@ 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.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 @@ 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.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateInstanceMethod(), responseObserver); } /** + * + * *
      * Deletes an instance.
      * Immediately upon completion of the request:
@@ -786,12 +1058,16 @@ 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.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 @@ 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.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 @@ 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.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,116 +1110,113 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListInstanceConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest, - com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse>( - this, 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>( + this, 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>( - this, 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>( + this, METHODID_GET_INSTANCE_CONFIG))) .addMethod( - getCreateInstanceConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_INSTANCE_CONFIG))) + getCreateInstanceConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_INSTANCE_CONFIG))) .addMethod( - getUpdateInstanceConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_INSTANCE_CONFIG))) + getUpdateInstanceConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_INSTANCE_CONFIG))) .addMethod( - getDeleteInstanceConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_INSTANCE_CONFIG))) + getDeleteInstanceConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest, + com.google.protobuf.Empty>(this, 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>( - this, 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>( + this, 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>( - this, 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>( + this, 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>( - this, 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>(this, METHODID_GET_INSTANCE))) .addMethod( - getCreateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.CreateInstanceRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_INSTANCE))) + getCreateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.CreateInstanceRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_INSTANCE))) .addMethod( - getUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.UpdateInstanceRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_INSTANCE))) + getUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.UpdateInstanceRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_INSTANCE))) .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.DeleteInstanceRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_INSTANCE))) + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.DeleteInstanceRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_INSTANCE))) .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .build(); } } /** + * + * *
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -957,41 +1238,55 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
    * databases in that instance, and their performance may suffer.
    * 
*/ - public static final class InstanceAdminStub extends io.grpc.stub.AbstractAsyncStub { - private InstanceAdminStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class InstanceAdminStub + extends io.grpc.stub.AbstractAsyncStub { + 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]
@@ -1028,13 +1323,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
@@ -1073,13 +1373,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
@@ -1089,13 +1394,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
@@ -1110,35 +1420,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]
@@ -1169,13 +1498,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
@@ -1211,13 +1545,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:
@@ -1228,13 +1567,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.
@@ -1242,13 +1586,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.
@@ -1256,13 +1605,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
@@ -1271,14 +1625,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); } } /** + * + * *
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -1300,9 +1660,9 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
    * databases in that instance, and their performance may suffer.
    * 
*/ - public static final class InstanceAdminBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private InstanceAdminBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class InstanceAdminBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private InstanceAdminBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1313,26 +1673,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]
@@ -1369,12 +1737,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
@@ -1413,12 +1784,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
@@ -1428,12 +1802,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
@@ -1448,32 +1825,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]
@@ -1504,12 +1891,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
@@ -1545,12 +1935,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:
@@ -1561,12 +1954,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.
@@ -1580,6 +1976,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.
@@ -1593,6 +1991,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
@@ -1601,13 +2001,16 @@ 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); } } /** + * + * *
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -1629,9 +2032,9 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.googl
    * databases in that instance, and their performance may suffer.
    * 
*/ - public static final class InstanceAdminFutureStub extends io.grpc.stub.AbstractFutureStub { - private InstanceAdminFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class InstanceAdminFutureStub + extends io.grpc.stub.AbstractFutureStub { + private InstanceAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1642,28 +2045,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]
@@ -1700,13 +2112,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
@@ -1745,13 +2160,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
@@ -1761,13 +2179,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
@@ -1782,35 +2203,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]
@@ -1841,13 +2272,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
@@ -1883,13 +2316,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:
@@ -1900,13 +2335,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.
@@ -1914,13 +2351,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.
@@ -1928,13 +2367,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
@@ -1943,8 +2384,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);
     }
@@ -1965,11 +2407,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 InstanceAdminImplBase serviceImpl;
     private final int methodId;
 
@@ -1983,60 +2425,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();
@@ -2054,8 +2519,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  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
@@ -2097,23 +2563,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 289a76a4ca1..752e8057336 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,525 +37,675 @@ 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
    * transactions on data stored in Cloud Spanner databases.
    * 
*/ - public static abstract class SpannerImplBase implements io.grpc.BindableService { + public abstract static class SpannerImplBase implements io.grpc.BindableService { /** + * + * *
      * 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 static abstract class SpannerImplBase implements io.grpc.BindableService
      * 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.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.
      * 
*/ - public void batchCreateSessions(com.google.spanner.v1.BatchCreateSessionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateSessionsMethod(), responseObserver); + public 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.
      * 
*/ - 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.ServerCalls.asyncUnimplementedUnaryCall(getGetSessionMethod(), 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.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.
      * 
*/ - 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.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 @@ 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.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 @@ 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.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 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteBatchDmlMethod(), responseObserver); + public 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 @@ 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.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 @@ 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.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 @@ 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.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 @@ 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.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 @@ 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.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 @@ 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.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,123 +998,116 @@ 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.ServerCalls.asyncUnimplementedUnaryCall(getPartitionReadMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getPartitionReadMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateSessionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.CreateSessionRequest, - com.google.spanner.v1.Session>( - this, METHODID_CREATE_SESSION))) + getCreateSessionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.CreateSessionRequest, com.google.spanner.v1.Session>( + this, METHODID_CREATE_SESSION))) .addMethod( - getBatchCreateSessionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.BatchCreateSessionsRequest, - com.google.spanner.v1.BatchCreateSessionsResponse>( - this, METHODID_BATCH_CREATE_SESSIONS))) + getBatchCreateSessionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.BatchCreateSessionsRequest, + com.google.spanner.v1.BatchCreateSessionsResponse>( + this, METHODID_BATCH_CREATE_SESSIONS))) .addMethod( - getGetSessionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.GetSessionRequest, - com.google.spanner.v1.Session>( - this, METHODID_GET_SESSION))) + getGetSessionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.GetSessionRequest, com.google.spanner.v1.Session>( + this, METHODID_GET_SESSION))) .addMethod( - getListSessionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.ListSessionsRequest, - com.google.spanner.v1.ListSessionsResponse>( - this, METHODID_LIST_SESSIONS))) + getListSessionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.ListSessionsRequest, + com.google.spanner.v1.ListSessionsResponse>(this, METHODID_LIST_SESSIONS))) .addMethod( - getDeleteSessionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.DeleteSessionRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_SESSION))) + getDeleteSessionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.DeleteSessionRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_SESSION))) .addMethod( - getExecuteSqlMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.ExecuteSqlRequest, - com.google.spanner.v1.ResultSet>( - this, METHODID_EXECUTE_SQL))) + getExecuteSqlMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.ResultSet>( + this, METHODID_EXECUTE_SQL))) .addMethod( - getExecuteStreamingSqlMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.spanner.v1.ExecuteSqlRequest, - com.google.spanner.v1.PartialResultSet>( - this, METHODID_EXECUTE_STREAMING_SQL))) + getExecuteStreamingSqlMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.spanner.v1.ExecuteSqlRequest, + com.google.spanner.v1.PartialResultSet>( + this, METHODID_EXECUTE_STREAMING_SQL))) .addMethod( - getExecuteBatchDmlMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.ExecuteBatchDmlRequest, - com.google.spanner.v1.ExecuteBatchDmlResponse>( - this, METHODID_EXECUTE_BATCH_DML))) + getExecuteBatchDmlMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.ExecuteBatchDmlRequest, + com.google.spanner.v1.ExecuteBatchDmlResponse>( + this, METHODID_EXECUTE_BATCH_DML))) .addMethod( - getReadMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.ReadRequest, - com.google.spanner.v1.ResultSet>( - this, METHODID_READ))) + getReadMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.ReadRequest, com.google.spanner.v1.ResultSet>( + this, METHODID_READ))) .addMethod( - getStreamingReadMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.spanner.v1.ReadRequest, - com.google.spanner.v1.PartialResultSet>( - this, METHODID_STREAMING_READ))) + getStreamingReadMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.spanner.v1.ReadRequest, com.google.spanner.v1.PartialResultSet>( + this, METHODID_STREAMING_READ))) .addMethod( - getBeginTransactionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.BeginTransactionRequest, - com.google.spanner.v1.Transaction>( - this, METHODID_BEGIN_TRANSACTION))) + getBeginTransactionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.BeginTransactionRequest, + com.google.spanner.v1.Transaction>(this, METHODID_BEGIN_TRANSACTION))) .addMethod( - getCommitMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.CommitRequest, - com.google.spanner.v1.CommitResponse>( - this, METHODID_COMMIT))) + getCommitMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.CommitRequest, com.google.spanner.v1.CommitResponse>( + this, METHODID_COMMIT))) .addMethod( - getRollbackMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.RollbackRequest, - com.google.protobuf.Empty>( - this, METHODID_ROLLBACK))) + getRollbackMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.RollbackRequest, com.google.protobuf.Empty>( + this, METHODID_ROLLBACK))) .addMethod( - getPartitionQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.PartitionQueryRequest, - com.google.spanner.v1.PartitionResponse>( - this, METHODID_PARTITION_QUERY))) + getPartitionQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.PartitionQueryRequest, + com.google.spanner.v1.PartitionResponse>(this, METHODID_PARTITION_QUERY))) .addMethod( - getPartitionReadMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.v1.PartitionReadRequest, - com.google.spanner.v1.PartitionResponse>( - this, METHODID_PARTITION_READ))) + getPartitionReadMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.v1.PartitionReadRequest, + com.google.spanner.v1.PartitionResponse>(this, METHODID_PARTITION_READ))) .build(); } } /** + * + * *
    * Cloud Spanner API
    * The Cloud Spanner API can be used to manage sessions and execute
@@ -902,18 +1115,18 @@ public void partitionRead(com.google.spanner.v1.PartitionReadRequest request,
    * 
*/ public static final class SpannerStub extends io.grpc.stub.AbstractAsyncStub { - private SpannerStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + 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.
@@ -933,63 +1146,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;
@@ -1002,13 +1239,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
@@ -1017,13 +1257,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
@@ -1036,13 +1281,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
@@ -1057,13 +1308,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
@@ -1072,13 +1326,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
@@ -1086,13 +1345,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.
@@ -1108,13 +1372,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
@@ -1125,13 +1392,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
@@ -1145,13 +1415,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
@@ -1167,33 +1442,39 @@ 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); } } /** + * + * *
    * 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 SpannerBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private SpannerBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class SpannerBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + 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.
@@ -1213,58 +1494,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;
@@ -1277,12 +1573,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
@@ -1298,6 +1597,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
@@ -1310,12 +1611,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
@@ -1336,6 +1640,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
@@ -1351,6 +1657,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
@@ -1358,12 +1666,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.
@@ -1379,12 +1690,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
@@ -1401,6 +1715,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
@@ -1414,12 +1730,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
@@ -1435,32 +1754,36 @@ 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); } } /** + * + * *
    * 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 SpannerFutureStub extends io.grpc.stub.AbstractFutureStub { - private SpannerFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class SpannerFutureStub + extends io.grpc.stub.AbstractFutureStub { + 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.
@@ -1480,63 +1803,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;
@@ -1549,13 +1884,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
@@ -1568,13 +1905,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
@@ -1596,6 +1936,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
@@ -1603,13 +1945,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.
@@ -1625,13 +1969,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
@@ -1649,6 +1995,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
@@ -1662,13 +2010,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
@@ -1684,8 +2035,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);
     }
@@ -1707,11 +2059,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 SpannerImplBase serviceImpl;
     private final int methodId;
 
@@ -1725,64 +2077,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();
@@ -1800,8 +2174,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  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
@@ -1815,13 +2190,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;
 
@@ -1843,24 +2216,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 b17546d293c..00000000000
--- a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientHttpJsonTest.java
+++ /dev/null
@@ -1,1314 +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())
-            .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())
-              .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())
-            .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())
-              .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 863e6007b3b..00000000000
--- a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java
+++ /dev/null
@@ -1,1352 +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())
-            .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.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())
-              .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())
-            .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())
-            .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())
-            .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.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())
-              .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())
-            .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())
-            .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 9c379d416ed..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\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/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 81db8ccf216..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,118 +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\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/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 5909121646b..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\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/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 9413a047dad..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,61 +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\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/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 06f7280f20d..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\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/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 82b44a9257e..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\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/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 a98b0daebf1..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\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/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 17483e34320..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\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/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 62dded35d5a..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\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/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 c5ec94f3283..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\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/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 64b5d31bfec..00000000000 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java +++ /dev/null @@ -1,582 +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\"" + - "\344\005\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\032O\n\014QueryOptions\022\031\n\021opt" + - "imizer_version\030\001 \001(\t\022$\n\034optimizer_statis" + - "tics_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.spann" + - "er.v1.Type:\0028\001\".\n\tQueryMode\022\n\n\006NORMAL\020\000\022" + - "\010\n\004PLAN\020\001\022\013\n\007PROFILE\020\002\"\240\004\n\026ExecuteBatchD" + - "mlRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036span" + - "ner.googleapis.com/Session\022@\n\013transactio" + - "n\030\002 \001(\0132&.google.spanner.v1.TransactionS" + - "electorB\003\340A\002\022L\n\nstatements\030\003 \003(\01323.googl" + - "e.spanner.v1.ExecuteBatchDmlRequest.Stat" + - "ementB\003\340A\002\022\022\n\005seqno\030\004 \001(\003B\003\340A\002\022:\n\017reques" + - "t_options\030\005 \001(\0132!.google.spanner.v1.Requ" + - "estOptions\032\354\001\n\tStatement\022\020\n\003sql\030\001 \001(\tB\003\340" + - "A\002\022\'\n\006params\030\002 \001(\0132\027.google.protobuf.Str" + - "uct\022X\n\013param_types\030\003 \003(\0132C.google.spanne" + - "r.v1.ExecuteBatchDmlRequest.Statement.Pa" + - "ramTypesEntry\032J\n\017ParamTypesEntry\022\013\n\003key\030" + - "\001 \001(\t\022&\n\005value\030\002 \001(\0132\027.google.spanner.v1" + - ".Type:\0028\001\"p\n\027ExecuteBatchDmlResponse\0221\n\013" + - "result_sets\030\001 \003(\0132\034.google.spanner.v1.Re" + - "sultSet\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Sta" + - "tus\"H\n\020PartitionOptions\022\034\n\024partition_siz" + - "e_bytes\030\001 \001(\003\022\026\n\016max_partitions\030\002 \001(\003\"\243\003" + - "\n\025PartitionQueryRequest\0227\n\007session\030\001 \001(\t" + - "B&\340A\002\372A \n\036spanner.googleapis.com/Session" + - "\022;\n\013transaction\030\002 \001(\0132&.google.spanner.v" + - "1.TransactionSelector\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_types\030\005 \003(\01328.google.spanner.v" + - "1.PartitionQueryRequest.ParamTypesEntry\022" + - ">\n\021partition_options\030\006 \001(\0132#.google.span" + - "ner.v1.PartitionOptions\032J\n\017ParamTypesEnt" + - "ry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027.google." + - "spanner.v1.Type:\0028\001\"\261\002\n\024PartitionReadReq" + - "uest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.g" + - "oogleapis.com/Session\022;\n\013transaction\030\002 \001" + - "(\0132&.google.spanner.v1.TransactionSelect" + - "or\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_opt" + - "ions\030\t \001(\0132#.google.spanner.v1.Partition" + - "Options\"$\n\tPartition\022\027\n\017partition_token\030" + - "\001 \001(\014\"z\n\021PartitionResponse\0220\n\npartitions" + - "\030\001 \003(\0132\034.google.spanner.v1.Partition\0223\n\013" + - "transaction\030\002 \001(\0132\036.google.spanner.v1.Tr" + - "ansaction\"\347\002\n\013ReadRequest\0227\n\007session\030\001 \001" + - "(\tB&\340A\002\372A \n\036spanner.googleapis.com/Sessi" + - "on\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\024\n\007columns\030\005 \003(\tB\003\340A\002" + - "\022/\n\007key_set\030\006 \001(\0132\031.google.spanner.v1.Ke" + - "ySetB\003\340A\002\022\r\n\005limit\030\010 \001(\003\022\024\n\014resume_token" + - "\030\t \001(\014\022\027\n\017partition_token\030\n \001(\014\022:\n\017reque" + - "st_options\030\013 \001(\0132!.google.spanner.v1.Req" + - "uestOptions\"\313\001\n\027BeginTransactionRequest\022" + - "7\n\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.google" + - "apis.com/Session\022;\n\007options\030\002 \001(\0132%.goog" + - "le.spanner.v1.TransactionOptionsB\003\340A\002\022:\n" + - "\017request_options\030\003 \001(\0132!.google.spanner." + - "v1.RequestOptions\"\303\002\n\rCommitRequest\0227\n\007s" + - "ession\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleapis" + - ".com/Session\022\030\n\016transaction_id\030\002 \001(\014H\000\022G" + - "\n\026single_use_transaction\030\003 \001(\0132%.google." + - "spanner.v1.TransactionOptionsH\000\022.\n\tmutat" + - "ions\030\004 \003(\0132\033.google.spanner.v1.Mutation\022" + - "\033\n\023return_commit_stats\030\005 \001(\010\022:\n\017request_" + - "options\030\006 \001(\0132!.google.spanner.v1.Reques" + - "tOptionsB\r\n\013transaction\"g\n\017RollbackReque" + - "st\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.goo" + - "gleapis.com/Session\022\033\n\016transaction_id\030\002 " + - "\001(\014B\003\340A\0022\300\026\n\007Spanner\022\246\001\n\rCreateSession\022\'" + - ".google.spanner.v1.CreateSessionRequest\032" + - "\032.google.spanner.v1.Session\"P\202\323\344\223\002?\":/v1" + - "/{database=projects/*/instances/*/databa" + - "ses/*}/sessions:\001*\332A\010database\022\340\001\n\023BatchC" + - "reateSessions\022-.google.spanner.v1.BatchC" + - "reateSessionsRequest\032..google.spanner.v1" + - ".BatchCreateSessionsResponse\"j\202\323\344\223\002K\"F/v" + - "1/{database=projects/*/instances/*/datab" + - "ases/*}/sessions:batchCreate:\001*\332A\026databa" + - "se,session_count\022\227\001\n\nGetSession\022$.google" + - ".spanner.v1.GetSessionRequest\032\032.google.s" + - "panner.v1.Session\"G\202\323\344\223\002:\0228/v1/{name=pro" + - "jects/*/instances/*/databases/*/sessions" + - "/*}\332A\004name\022\256\001\n\014ListSessions\022&.google.spa" + - "nner.v1.ListSessionsRequest\032\'.google.spa" + - "nner.v1.ListSessionsResponse\"M\202\323\344\223\002<\022:/v" + - "1/{database=projects/*/instances/*/datab" + - "ases/*}/sessions\332A\010database\022\231\001\n\rDeleteSe" + - "ssion\022\'.google.spanner.v1.DeleteSessionR" + - "equest\032\026.google.protobuf.Empty\"G\202\323\344\223\002:*8" + - "/v1/{name=projects/*/instances/*/databas" + - "es/*/sessions/*}\332A\004name\022\243\001\n\nExecuteSql\022$" + - ".google.spanner.v1.ExecuteSqlRequest\032\034.g" + - "oogle.spanner.v1.ResultSet\"Q\202\323\344\223\002K\"F/v1/" + - "{session=projects/*/instances/*/database" + - "s/*/sessions/*}:executeSql:\001*\022\276\001\n\023Execut" + - "eStreamingSql\022$.google.spanner.v1.Execut" + - "eSqlRequest\032#.google.spanner.v1.PartialR" + - "esultSet\"Z\202\323\344\223\002T\"O/v1/{session=projects/" + - "*/instances/*/databases/*/sessions/*}:ex" + - "ecuteStreamingSql:\001*0\001\022\300\001\n\017ExecuteBatchD" + - "ml\022).google.spanner.v1.ExecuteBatchDmlRe" + - "quest\032*.google.spanner.v1.ExecuteBatchDm" + - "lResponse\"V\202\323\344\223\002P\"K/v1/{session=projects" + - "/*/instances/*/databases/*/sessions/*}:e" + - "xecuteBatchDml:\001*\022\221\001\n\004Read\022\036.google.span" + - "ner.v1.ReadRequest\032\034.google.spanner.v1.R" + - "esultSet\"K\202\323\344\223\002E\"@/v1/{session=projects/" + - "*/instances/*/databases/*/sessions/*}:re" + - "ad:\001*\022\254\001\n\rStreamingRead\022\036.google.spanner" + - ".v1.ReadRequest\032#.google.spanner.v1.Part" + - "ialResultSet\"T\202\323\344\223\002N\"I/v1/{session=proje" + - "cts/*/instances/*/databases/*/sessions/*" + - "}:streamingRead:\001*0\001\022\311\001\n\020BeginTransactio" + - "n\022*.google.spanner.v1.BeginTransactionRe" + - "quest\032\036.google.spanner.v1.Transaction\"i\202" + - "\323\344\223\002Q\"L/v1/{session=projects/*/instances" + - "/*/databases/*/sessions/*}:beginTransact" + - "ion:\001*\332A\017session,options\022\353\001\n\006Commit\022 .go" + - "ogle.spanner.v1.CommitRequest\032!.google.s" + - "panner.v1.CommitResponse\"\233\001\202\323\344\223\002G\"B/v1/{" + - "session=projects/*/instances/*/databases" + - "/*/sessions/*}:commit:\001*\332A session,trans" + - "action_id,mutations\332A(session,single_use" + - "_transaction,mutations\022\260\001\n\010Rollback\022\".go" + - "ogle.spanner.v1.RollbackRequest\032\026.google" + - ".protobuf.Empty\"h\202\323\344\223\002I\"D/v1/{session=pr" + - "ojects/*/instances/*/databases/*/session" + - "s/*}:rollback:\001*\332A\026session,transaction_i" + - "d\022\267\001\n\016PartitionQuery\022(.google.spanner.v1" + - ".PartitionQueryRequest\032$.google.spanner." + - "v1.PartitionResponse\"U\202\323\344\223\002O\"J/v1/{sessi" + - "on=projects/*/instances/*/databases/*/se" + - "ssions/*}:partitionQuery:\001*\022\264\001\n\rPartitio" + - "nRead\022\'.google.spanner.v1.PartitionReadR" + - "equest\032$.google.spanner.v1.PartitionResp" + - "onse\"T\202\323\344\223\002N\"I/v1/{session=projects/*/in" + - "stances/*/databases/*/sessions/*}:partit" + - "ionRead:\001*\032w\312A\026spanner.googleapis.com\322A[" + - "https://www.googleapis.com/auth/cloud-pl" + - "atform,https://www.googleapis.com/auth/s" + - "panner.dataB\224\002\n\025com.google.spanner.v1B\014S" + - "pannerProtoP\001Z8google.golang.org/genprot" + - "o/googleapis/spanner/v1;spanner\252\002\027Google" + - ".Cloud.Spanner.V1\312\002\027Google\\Cloud\\Spanner" + - "\\V1\352\002\032Google::Cloud::Spanner::V1\352A_\n\037spa" + - "nner.googleapis.com/Database\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) -} 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 ec5cd7e35a0..fc4ca6cc8be 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; @@ -203,6 +234,8 @@ private State(int value) { public static final int DATABASE_FIELD_NUMBER = 2; 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
@@ -212,6 +245,7 @@ private State(int value) {
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } + * * @return The database. */ @java.lang.Override @@ -220,14 +254,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
@@ -237,16 +272,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 { @@ -257,6 +291,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
@@ -265,6 +301,7 @@ public java.lang.String getDatabase() {
    * 
* * .google.protobuf.Timestamp version_time = 9; + * * @return Whether the versionTime field is set. */ @java.lang.Override @@ -272,6 +309,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
@@ -280,6 +319,7 @@ public boolean hasVersionTime() {
    * 
* * .google.protobuf.Timestamp version_time = 9; + * * @return The versionTime. */ @java.lang.Override @@ -287,6 +327,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
@@ -304,6 +346,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
@@ -314,6 +358,7 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp expire_time = 3; + * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -321,6 +366,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
@@ -331,6 +378,7 @@ public boolean hasExpireTime() {
    * 
* * .google.protobuf.Timestamp expire_time = 3; + * * @return The expireTime. */ @java.lang.Override @@ -338,6 +386,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
@@ -357,6 +407,8 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
   public static final int NAME_FIELD_NUMBER = 1;
   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.
@@ -372,6 +424,7 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -380,14 +433,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.
@@ -403,16 +457,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 { @@ -423,13 +476,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 @@ -437,13 +494,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 @@ -451,13 +512,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() { @@ -467,11 +531,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int SIZE_BYTES_FIELD_NUMBER = 5; 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 @@ -482,33 +549,48 @@ public long getSizeBytes() { public static final int STATE_FIELD_NUMBER = 6; private int 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 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() { + @java.lang.Override + public com.google.spanner.admin.database.v1.Backup.State getState() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.Backup.State result = com.google.spanner.admin.database.v1.Backup.State.valueOf(state_); + com.google.spanner.admin.database.v1.Backup.State result = + com.google.spanner.admin.database.v1.Backup.State.valueOf(state_); return result == null ? com.google.spanner.admin.database.v1.Backup.State.UNRECOGNIZED : result; } public static final int REFERENCING_DATABASES_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList referencingDatabases_; /** + * + * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -519,14 +601,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
@@ -537,13 +623,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
@@ -554,7 +645,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. */ @@ -562,6 +656,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
@@ -572,23 +668,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 @@ -596,23 +699,34 @@ 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() { @@ -622,33 +736,50 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio public static final int DATABASE_DIALECT_FIELD_NUMBER = 10; private int 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 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() { + @java.lang.Override + public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.valueOf(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.valueOf(databaseDialect_); + return result == null + ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED + : result; } public static final int REFERENCING_BACKUPS_FIELD_NUMBER = 11; 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
@@ -659,14 +790,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
@@ -677,13 +812,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
@@ -694,7 +834,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. */ @@ -702,6 +845,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
@@ -712,18 +857,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
@@ -732,7 +881,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 @@ -740,6 +892,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
@@ -748,14 +902,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
@@ -764,7 +925,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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getMaxExpireTimeOrBuilder() { @@ -772,6 +935,7 @@ public com.google.protobuf.TimestampOrBuilder getMaxExpireTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -783,8 +947,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -804,7 +967,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()); @@ -812,7 +976,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++) { @@ -837,20 +1003,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; @@ -861,16 +1023,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; @@ -881,8 +1042,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; @@ -892,49 +1052,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; @@ -964,8 +1115,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) { @@ -991,130 +1141,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(); @@ -1166,9 +1322,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 @@ -1187,7 +1343,8 @@ 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); int from_bitField0_ = bitField0_; result.database_ = database_; if (versionTimeBuilder_ == null) { @@ -1237,38 +1394,39 @@ public com.google.spanner.admin.database.v1.Backup buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -1355,84 +1513,87 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - database_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - input.readMessage( - getExpireTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 34: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 34 - case 40: { - sizeBytes_ = input.readInt64(); - - break; - } // case 40 - case 48: { - state_ = input.readEnum(); - - 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); - - break; - } // case 66 - case 74: { - input.readMessage( - getVersionTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 74 - case 80: { - databaseDialect_ = input.readEnum(); - - 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); - - break; - } // case 98 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + database_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 34: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 34 + case 40: + { + sizeBytes_ = input.readInt64(); + + break; + } // case 40 + case 48: + { + state_ = input.readEnum(); + + 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); + + break; + } // case 66 + case 74: + { + input.readMessage(getVersionTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 74 + case 80: + { + databaseDialect_ = input.readEnum(); + + 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); + + 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) { @@ -1442,10 +1603,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
@@ -1455,13 +1619,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; @@ -1470,6 +1634,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
@@ -1479,15 +1645,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 { @@ -1495,6 +1660,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
@@ -1504,20 +1671,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) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; onChanged(); return this; } /** + * + * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Name of the database from which this backup was
@@ -1527,15 +1696,18 @@ public Builder setDatabase(
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearDatabase() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); return this; } /** + * + * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Name of the database from which this backup was
@@ -1545,16 +1717,16 @@ 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) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -1562,8 +1734,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
@@ -1572,12 +1749,15 @@ public Builder setDatabaseBytes(
      * 
* * .google.protobuf.Timestamp version_time = 9; + * * @return Whether the versionTime field is set. */ public boolean hasVersionTime() { return versionTimeBuilder_ != null || 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
@@ -1586,16 +1766,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
@@ -1619,6 +1804,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
@@ -1628,8 +1815,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();
         onChanged();
@@ -1640,6 +1826,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
@@ -1653,7 +1841,9 @@ public Builder mergeVersionTime(com.google.protobuf.Timestamp value) {
       if (versionTimeBuilder_ == null) {
         if (versionTime_ != null) {
           versionTime_ =
-            com.google.protobuf.Timestamp.newBuilder(versionTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(versionTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           versionTime_ = value;
         }
@@ -1665,6 +1855,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
@@ -1686,6 +1878,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
@@ -1696,11 +1890,13 @@ public Builder clearVersionTime() {
      * .google.protobuf.Timestamp version_time = 9;
      */
     public com.google.protobuf.Timestamp.Builder getVersionTimeBuilder() {
-      
+
       onChanged();
       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
@@ -1714,11 +1910,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
@@ -1729,14 +1928,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_;
@@ -1744,8 +1946,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
@@ -1756,12 +1963,15 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp expire_time = 3; + * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || expireTime_ != null; } /** + * + * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -1772,16 +1982,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
@@ -1807,6 +2022,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
@@ -1818,8 +2035,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();
         onChanged();
@@ -1830,6 +2046,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
@@ -1845,7 +2063,7 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
       if (expireTimeBuilder_ == null) {
         if (expireTime_ != null) {
           expireTime_ =
-            com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial();
         } else {
           expireTime_ = value;
         }
@@ -1857,6 +2075,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
@@ -1880,6 +2100,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
@@ -1892,11 +2114,13 @@ public Builder clearExpireTime() {
      * .google.protobuf.Timestamp expire_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
-      
+
       onChanged();
       return getExpireTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -1912,11 +2136,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
@@ -1929,14 +2156,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_;
@@ -1944,6 +2174,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.
@@ -1959,13 +2191,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; @@ -1974,6 +2206,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.
@@ -1989,15 +2223,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 { @@ -2005,6 +2238,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.
@@ -2020,20 +2255,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -2049,15 +2286,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); 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.
@@ -2073,16 +2313,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2090,45 +2330,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 createTimeBuilder_ != null || 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. */ 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) { @@ -2144,16 +2403,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(); onChanged(); @@ -2164,19 +2426,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2188,13 +2454,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() { if (createTimeBuilder_ == null) { @@ -2208,66 +2478,85 @@ 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() { - + onChanged(); 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 @@ -2275,30 +2564,36 @@ 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; 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() { - + sizeBytes_ = 0L; onChanged(); return this; @@ -2306,51 +2601,75 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.Backup.State result = com.google.spanner.admin.database.v1.Backup.State.valueOf(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.valueOf(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. */ @@ -2358,34 +2677,43 @@ public Builder setState(com.google.spanner.admin.database.v1.Backup.State value) if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); 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_ & 0x00000001) != 0)) { referencingDatabases_ = new com.google.protobuf.LazyStringArrayList(referencingDatabases_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2396,14 +2724,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
@@ -2414,13 +2746,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
@@ -2431,7 +2768,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. */ @@ -2439,6 +2779,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
@@ -2449,15 +2791,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
@@ -2468,22 +2814,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) { + public Builder setReferencingDatabases(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureReferencingDatabasesIsMutable(); + 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
@@ -2494,21 +2844,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) { + public Builder addReferencingDatabases(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureReferencingDatabasesIsMutable(); + 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
@@ -2519,19 +2873,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
@@ -2542,7 +2899,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() { @@ -2552,6 +2912,8 @@ public Builder clearReferencingDatabases() { return this; } /** + * + * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2562,16 +2924,18 @@ 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) { + public Builder addReferencingDatabasesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureReferencingDatabasesIsMutable(); referencingDatabases_.add(value); onChanged(); @@ -2580,39 +2944,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 encryptionInfoBuilder_ != null || 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. */ 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) { @@ -2628,11 +3011,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) { @@ -2646,17 +3033,23 @@ 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 (encryptionInfo_ != null) { encryptionInfo_ = - com.google.spanner.admin.database.v1.EncryptionInfo.newBuilder(encryptionInfo_).mergeFrom(value).buildPartial(); + com.google.spanner.admin.database.v1.EncryptionInfo.newBuilder(encryptionInfo_) + .mergeFrom(value) + .buildPartial(); } else { encryptionInfo_ = value; } @@ -2668,11 +3061,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() { if (encryptionInfoBuilder_ == null) { @@ -2686,48 +3083,65 @@ 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() { - + onChanged(); 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_; @@ -2735,51 +3149,75 @@ 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. */ public Builder setDatabaseDialectValue(int value) { - + databaseDialect_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.valueOf(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.valueOf(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. */ @@ -2787,34 +3225,43 @@ public Builder setDatabaseDialect(com.google.spanner.admin.database.v1.DatabaseD if (value == null) { throw new NullPointerException(); } - + databaseDialect_ = value.getNumber(); onChanged(); 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() { - + databaseDialect_ = 0; onChanged(); 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_ & 0x00000002) != 0)) { referencingBackups_ = new com.google.protobuf.LazyStringArrayList(referencingBackups_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -2825,14 +3272,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
@@ -2843,13 +3294,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
@@ -2860,7 +3316,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. */ @@ -2868,6 +3327,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
@@ -2878,15 +3339,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
@@ -2897,22 +3362,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) { + public Builder setReferencingBackups(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureReferencingBackupsIsMutable(); + 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
@@ -2923,21 +3392,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) { + public Builder addReferencingBackups(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureReferencingBackupsIsMutable(); + 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
@@ -2948,19 +3421,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
@@ -2971,7 +3447,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() { @@ -2981,6 +3460,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
@@ -2991,16 +3472,18 @@ 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) { + public Builder addReferencingBackupsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureReferencingBackupsIsMutable(); referencingBackups_.add(value); onChanged(); @@ -3009,8 +3492,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
@@ -3019,13 +3507,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 maxExpireTimeBuilder_ != null || maxExpireTime_ != null; } /** + * + * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3034,17 +3527,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
@@ -3053,7 +3553,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) { @@ -3069,6 +3571,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
@@ -3077,10 +3581,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(); onChanged(); @@ -3091,6 +3596,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
@@ -3099,13 +3606,17 @@ 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 (maxExpireTime_ != null) { maxExpireTime_ = - com.google.protobuf.Timestamp.newBuilder(maxExpireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(maxExpireTime_) + .mergeFrom(value) + .buildPartial(); } else { maxExpireTime_ = value; } @@ -3117,6 +3628,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
@@ -3125,7 +3638,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() { if (maxExpireTimeBuilder_ == null) { @@ -3139,6 +3654,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
@@ -3147,14 +3664,18 @@ 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() { - + onChanged(); 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
@@ -3163,17 +3684,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
@@ -3182,24 +3708,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); } @@ -3209,12 +3740,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(); } @@ -3223,27 +3754,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; @@ -3258,6 +3789,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 74% 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 2dcb67198b3..a092e117175 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,37 +44,41 @@ private BackupInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BackupInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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; private volatile java.lang.Object backup_; /** + * + * *
    * Name of the backup.
    * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } + * * @return The backup. */ @java.lang.Override @@ -65,29 +87,29 @@ public java.lang.String getBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backup_ = s; return s; } } /** + * + * *
    * 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 { @@ -98,6 +120,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
@@ -107,6 +131,7 @@ public java.lang.String getBackup() {
    * 
* * .google.protobuf.Timestamp version_time = 4; + * * @return Whether the versionTime field is set. */ @java.lang.Override @@ -114,6 +139,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
@@ -123,6 +150,7 @@ public boolean hasVersionTime() {
    * 
* * .google.protobuf.Timestamp version_time = 4; + * * @return The versionTime. */ @java.lang.Override @@ -130,6 +158,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
@@ -148,12 +178,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 @@ -161,12 +194,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 @@ -174,6 +210,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.
@@ -189,11 +227,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int SOURCE_DATABASE_FIELD_NUMBER = 3;
   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 @@ -202,29 +243,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 { @@ -233,6 +274,7 @@ public java.lang.String getSourceDatabase() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +286,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -271,15 +312,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; @@ -289,27 +328,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; } @@ -338,130 +374,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(); @@ -485,9 +527,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 @@ -506,7 +548,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); + com.google.spanner.admin.database.v1.BackupInfo result = + new com.google.spanner.admin.database.v1.BackupInfo(this); result.backup_ = backup_; if (versionTimeBuilder_ == null) { result.versionTime_ = versionTime_; @@ -527,38 +570,39 @@ public com.google.spanner.admin.database.v1.BackupInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -566,7 +610,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_; onChanged(); @@ -607,36 +652,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - backup_ = input.readStringRequireUtf8(); + case 10: + { + backup_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - sourceDatabase_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + sourceDatabase_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - input.readMessage( - getVersionTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 26 + case 34: + { + input.readMessage(getVersionTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -649,18 +695,20 @@ public Builder mergeFrom( 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; @@ -669,20 +717,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 { @@ -690,54 +739,61 @@ 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) { + public Builder setBackup(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + backup_ = value; onChanged(); return this; } /** + * + * *
      * Name of the backup.
      * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearBackup() { - + backup_ = getDefaultInstance().getBackup(); onChanged(); 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) { + public Builder setBackupBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + backup_ = value; onChanged(); return this; @@ -745,8 +801,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
@@ -756,12 +817,15 @@ public Builder setBackupBytes(
      * 
* * .google.protobuf.Timestamp version_time = 4; + * * @return Whether the versionTime field is set. */ public boolean hasVersionTime() { return versionTimeBuilder_ != null || versionTime_ != null; } /** + * + * *
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -771,16 +835,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
@@ -805,6 +874,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
@@ -815,8 +886,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();
         onChanged();
@@ -827,6 +897,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
@@ -841,7 +913,9 @@ public Builder mergeVersionTime(com.google.protobuf.Timestamp value) {
       if (versionTimeBuilder_ == null) {
         if (versionTime_ != null) {
           versionTime_ =
-            com.google.protobuf.Timestamp.newBuilder(versionTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(versionTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           versionTime_ = value;
         }
@@ -853,6 +927,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
@@ -875,6 +951,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
@@ -886,11 +964,13 @@ public Builder clearVersionTime() {
      * .google.protobuf.Timestamp version_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getVersionTimeBuilder() {
-      
+
       onChanged();
       return getVersionTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -905,11 +985,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
@@ -921,14 +1004,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_;
@@ -936,36 +1022,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 createTimeBuilder_ != null || 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. */ 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.
@@ -987,6 +1086,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.
@@ -994,8 +1095,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();
         onChanged();
@@ -1006,6 +1106,8 @@ public Builder setCreateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1017,7 +1119,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       if (createTimeBuilder_ == null) {
         if (createTime_ != null) {
           createTime_ =
-            com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
         } else {
           createTime_ = value;
         }
@@ -1029,6 +1131,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.
@@ -1048,6 +1152,8 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1056,11 +1162,13 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-      
+
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1072,11 +1180,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.
@@ -1085,14 +1196,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_;
@@ -1100,18 +1214,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; @@ -1120,20 +1236,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 { @@ -1141,61 +1258,68 @@ 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) { + public Builder setSourceDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceDatabase_ = value; 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() { - + sourceDatabase_ = getDefaultInstance().getSourceDatabase(); onChanged(); 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) { + public Builder setSourceDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceDatabase_ = 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); } @@ -1205,12 +1329,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(); } @@ -1219,27 +1343,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; @@ -1254,6 +1378,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..d5a258d0e52 --- /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\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 new file mode 100644 index 00000000000..73dfc1efb12 --- /dev/null +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java @@ -0,0 +1,135 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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/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 c32ca828129..eedbec7ae06 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,53 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int 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 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() { + @java.lang.Override + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType + getEncryptionType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.valueOf(encryptionType_); - return result == null ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.UNRECOGNIZED : result; + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType result = + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.valueOf( + encryptionType_); + return result == null + ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType + .UNRECOGNIZED + : result; } public static final int KMS_KEY_NAME_FIELD_NUMBER = 2; 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 +316,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 +328,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 +345,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 +365,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,9 +377,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 +396,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 +413,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 +444,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(); @@ -509,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(); } @@ -530,7 +607,8 @@ 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); + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig result = + new com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig(this); result.encryptionType_ = encryptionType_; result.kmsKeyName_ = kmsKeyName_; onBuilt(); @@ -541,46 +619,50 @@ public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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()); } @@ -614,22 +696,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - encryptionType_ = input.readEnum(); + case 8: + { + encryptionType_ = input.readEnum(); - break; - } // case 8 - case 18: { - kmsKeyName_ = input.readStringRequireUtf8(); + break; + } // case 8 + case 18: + { + kmsKeyName_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -642,73 +727,106 @@ public Builder mergeFrom( 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. */ public Builder setEncryptionTypeValue(int value) { - + encryptionType_ = value; onChanged(); 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() { + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType + getEncryptionType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.valueOf(encryptionType_); - return result == null ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.UNRECOGNIZED : result; + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType result = + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.valueOf( + 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(); } - + encryptionType_ = value.getNumber(); onChanged(); 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() { - + encryptionType_ = 0; onChanged(); return this; @@ -716,6 +834,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
@@ -724,14 +844,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; @@ -740,6 +862,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
@@ -748,16 +872,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 { @@ -765,6 +890,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
@@ -773,21 +900,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) { + public Builder setKmsKeyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -796,16 +927,21 @@ 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() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** + * + * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -814,24 +950,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) { + public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -841,41 +979,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; @@ -887,9 +1027,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 77% 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 eef34e90c16..6285a695e61 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,32 +45,35 @@ 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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the backup being created through the copy operation.
    * Values are of the form
@@ -60,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The name. */ @java.lang.Override @@ -68,14 +90,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
@@ -83,16 +106,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 { @@ -103,6 +125,8 @@ public java.lang.String getName() { public static final int SOURCE_BACKUP_FIELD_NUMBER = 2; private volatile java.lang.Object sourceBackup_; /** + * + * *
    * The name of the source backup that is being copied.
    * Values are of the form
@@ -110,6 +134,7 @@ public java.lang.String getName() {
    * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } + * * @return The sourceBackup. */ @java.lang.Override @@ -118,14 +143,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
@@ -133,16 +159,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 { @@ -153,12 +178,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 @@ -166,19 +194,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.
@@ -194,6 +229,8 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
   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]
@@ -210,6 +247,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 @@ -217,6 +255,8 @@ public boolean hasCancelTime() { return cancelTime_ != null; } /** + * + * *
    * The time at which cancellation of CopyBackup operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -233,6 +273,7 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 4; + * * @return The cancelTime. */ @java.lang.Override @@ -240,6 +281,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]
@@ -263,6 +306,7 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -274,8 +318,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -304,12 +347,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;
@@ -319,26 +360,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;
@@ -369,96 +407,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].
@@ -466,33 +512,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();
@@ -516,9 +561,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
@@ -537,7 +582,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);
+      com.google.spanner.admin.database.v1.CopyBackupMetadata result =
+          new com.google.spanner.admin.database.v1.CopyBackupMetadata(this);
       result.name_ = name_;
       result.sourceBackup_ = sourceBackup_;
       if (progressBuilder_ == null) {
@@ -558,38 +604,39 @@ public com.google.spanner.admin.database.v1.CopyBackupMetadata buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -597,7 +644,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_;
         onChanged();
@@ -638,36 +686,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              sourceBackup_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                sourceBackup_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getProgressFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getCancelTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -680,6 +729,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -687,13 +738,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; @@ -702,6 +753,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -709,15 +762,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 { @@ -725,6 +777,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -732,20 +786,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -753,15 +809,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -769,16 +828,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -786,6 +845,8 @@ public Builder setNameBytes( private java.lang.Object sourceBackup_ = ""; /** + * + * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -793,13 +854,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; @@ -808,6 +869,8 @@ public java.lang.String getSourceBackup() { } } /** + * + * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -815,15 +878,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 { @@ -831,6 +893,8 @@ public java.lang.String getSourceBackup() { } } /** + * + * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -838,20 +902,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) { + public Builder setSourceBackup(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceBackup_ = value; onChanged(); return this; } /** + * + * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -859,15 +925,18 @@ public Builder setSourceBackup(
      * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearSourceBackup() { - + sourceBackup_ = getDefaultInstance().getSourceBackup(); onChanged(); return this; } /** + * + * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -875,16 +944,16 @@ 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) { + public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceBackup_ = value; onChanged(); return this; @@ -892,36 +961,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 progressBuilder_ != null || 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. */ 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.
@@ -943,6 +1025,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.
@@ -962,6 +1046,8 @@ public Builder setProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -973,7 +1059,9 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr
       if (progressBuilder_ == null) {
         if (progress_ != null) {
           progress_ =
-            com.google.spanner.admin.database.v1.OperationProgress.newBuilder(progress_).mergeFrom(value).buildPartial();
+              com.google.spanner.admin.database.v1.OperationProgress.newBuilder(progress_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           progress_ = value;
         }
@@ -985,6 +1073,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.
@@ -1004,6 +1094,8 @@ public Builder clearProgress() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1012,11 +1104,13 @@ public Builder clearProgress() {
      * .google.spanner.admin.database.v1.OperationProgress progress = 3;
      */
     public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgressBuilder() {
-      
+
       onChanged();
       return getProgressFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1028,11 +1122,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.
@@ -1041,14 +1138,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_;
@@ -1056,8 +1156,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]
@@ -1074,12 +1179,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 cancelTimeBuilder_ != null || cancelTime_ != null; } /** + * + * *
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1096,16 +1204,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]
@@ -1137,6 +1250,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]
@@ -1154,8 +1269,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();
         onChanged();
@@ -1166,6 +1280,8 @@ public Builder setCancelTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1187,7 +1303,7 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
         if (cancelTime_ != null) {
           cancelTime_ =
-            com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
         } else {
           cancelTime_ = value;
         }
@@ -1199,6 +1315,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]
@@ -1228,6 +1346,8 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1246,11 +1366,13 @@ public Builder clearCancelTime() {
      * .google.protobuf.Timestamp cancel_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
-      
+
       onChanged();
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1272,11 +1394,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]
@@ -1295,21 +1420,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);
     }
 
@@ -1319,12 +1447,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();
   }
@@ -1333,27 +1461,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;
@@ -1368,6 +1496,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 70%
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 3dcafcc5d73..1478c5941d7 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,38 +45,44 @@ 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; 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 @@ -67,30 +91,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 { @@ -101,6 +127,8 @@ public java.lang.String getParent() { public static final int BACKUP_ID_FIELD_NUMBER = 2; private volatile java.lang.Object backupId_; /** + * + * *
    * Required. The id of the backup copy.
    * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -108,6 +136,7 @@ public java.lang.String getParent() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The backupId. */ @java.lang.Override @@ -116,14 +145,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
@@ -131,16 +161,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,6 +180,8 @@ public java.lang.String getBackupId() { public static final int SOURCE_BACKUP_FIELD_NUMBER = 3; 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.
@@ -160,7 +191,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 @@ -169,14 +203,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.
@@ -186,17 +221,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 { @@ -207,6 +243,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
@@ -215,7 +253,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 @@ -223,6 +263,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
@@ -231,7 +273,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 @@ -239,6 +283,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
@@ -247,7 +293,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() { @@ -257,6 +304,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
@@ -265,7 +314,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 @@ -273,6 +325,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
@@ -281,14 +335,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
@@ -297,14 +358,18 @@ 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() { + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { return getEncryptionConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,8 +381,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -352,12 +416,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; @@ -367,28 +429,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; @@ -421,129 +479,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(); @@ -569,9 +634,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 @@ -590,7 +655,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); + com.google.spanner.admin.database.v1.CopyBackupRequest result = + new com.google.spanner.admin.database.v1.CopyBackupRequest(this); result.parent_ = parent_; result.backupId_ = backupId_; result.sourceBackup_ = sourceBackup_; @@ -612,38 +678,39 @@ public com.google.spanner.admin.database.v1.CopyBackupRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -651,7 +718,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_; onChanged(); @@ -696,41 +764,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - backupId_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - sourceBackup_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - input.readMessage( - getExpireTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 34 - case 42: { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + backupId_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + sourceBackup_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 34 + case 42: + { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -743,19 +814,23 @@ public Builder mergeFrom( 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; @@ -764,21 +839,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 { @@ -786,57 +864,70 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -844,6 +935,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
@@ -851,13 +944,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; @@ -866,6 +959,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
@@ -873,15 +968,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 { @@ -889,6 +983,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
@@ -896,20 +992,22 @@ public java.lang.String getBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId( - java.lang.String value) { + public Builder setBackupId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + backupId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The id of the backup copy.
      * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -917,15 +1015,18 @@ public Builder setBackupId(
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBackupId() { - + backupId_ = getDefaultInstance().getBackupId(); onChanged(); return this; } /** + * + * *
      * Required. The id of the backup copy.
      * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -933,16 +1034,16 @@ public Builder clearBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes( - com.google.protobuf.ByteString value) { + public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + backupId_ = value; onChanged(); return this; @@ -950,6 +1051,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.
@@ -959,14 +1062,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; @@ -975,6 +1080,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.
@@ -984,16 +1091,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 { @@ -1001,6 +1109,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.
@@ -1010,21 +1120,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) { + public Builder setSourceBackup(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceBackup_ = value; onChanged(); return this; } /** + * + * *
      * Required. The source backup to be copied.
      * The source backup needs to be in READY state for it to be copied.
@@ -1034,16 +1148,21 @@ 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() { - + sourceBackup_ = getDefaultInstance().getSourceBackup(); onChanged(); return this; } /** + * + * *
      * Required. The source backup to be copied.
      * The source backup needs to be in READY state for it to be copied.
@@ -1053,17 +1172,19 @@ 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) { + public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceBackup_ = value; onChanged(); return this; @@ -1071,8 +1192,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
@@ -1081,13 +1207,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 expireTimeBuilder_ != null || 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
@@ -1096,17 +1226,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
@@ -1115,7 +1251,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) { @@ -1131,6 +1268,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
@@ -1139,10 +1278,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(); onChanged(); @@ -1153,6 +1292,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
@@ -1161,13 +1302,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 (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -1179,6 +1321,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
@@ -1187,7 +1331,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() { if (expireTimeBuilder_ == null) { @@ -1201,6 +1346,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
@@ -1209,14 +1356,17 @@ 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() { - + onChanged(); 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
@@ -1225,17 +1375,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
@@ -1244,17 +1398,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_; @@ -1262,8 +1420,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
@@ -1272,13 +1435,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 encryptionConfigBuilder_ != null || encryptionConfig_ != null; } /** + * + * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1287,17 +1455,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
@@ -1306,9 +1481,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(); @@ -1322,6 +1500,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
@@ -1330,7 +1510,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) { @@ -1344,6 +1526,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
@@ -1352,13 +1536,19 @@ 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 (encryptionConfig_ != null) { encryptionConfig_ = - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.newBuilder(encryptionConfig_).mergeFrom(value).buildPartial(); + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.newBuilder( + encryptionConfig_) + .mergeFrom(value) + .buildPartial(); } else { encryptionConfig_ = value; } @@ -1370,6 +1560,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
@@ -1378,7 +1570,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() { if (encryptionConfigBuilder_ == null) { @@ -1392,6 +1586,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
@@ -1400,14 +1596,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() { + 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
@@ -1416,17 +1617,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
@@ -1435,24 +1642,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); } @@ -1462,12 +1674,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(); } @@ -1476,27 +1688,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; @@ -1511,6 +1723,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 80bfef9551a..7336a2719f9 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,53 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int 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 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() { + @java.lang.Override + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType + getEncryptionType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.valueOf(encryptionType_); - return result == null ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.UNRECOGNIZED : result; + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType result = + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.valueOf( + encryptionType_); + return result == null + ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType + .UNRECOGNIZED + : result; } public static final int KMS_KEY_NAME_FIELD_NUMBER = 2; 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 +318,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 +330,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 +347,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 +367,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -314,9 +379,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 +398,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 +415,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 +446,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(); @@ -511,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(); } @@ -532,7 +611,8 @@ 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); + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig result = + new com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig(this); result.encryptionType_ = encryptionType_; result.kmsKeyName_ = kmsKeyName_; onBuilt(); @@ -543,46 +623,50 @@ public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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()); } @@ -616,22 +700,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - encryptionType_ = input.readEnum(); + case 8: + { + encryptionType_ = input.readEnum(); - break; - } // case 8 - case 18: { - kmsKeyName_ = input.readStringRequireUtf8(); + break; + } // case 8 + case 18: + { + kmsKeyName_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -644,73 +731,106 @@ public Builder mergeFrom( 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. */ public Builder setEncryptionTypeValue(int value) { - + encryptionType_ = value; onChanged(); 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() { + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType + getEncryptionType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.valueOf(encryptionType_); - return result == null ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.UNRECOGNIZED : result; + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType result = + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.valueOf( + 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(); } - + encryptionType_ = value.getNumber(); onChanged(); 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() { - + encryptionType_ = 0; onChanged(); return this; @@ -718,6 +838,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
@@ -726,14 +848,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; @@ -742,6 +866,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
@@ -750,16 +876,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 { @@ -767,6 +894,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
@@ -775,21 +904,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) { + public Builder setKmsKeyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -798,16 +931,21 @@ 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() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** + * + * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -816,24 +954,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) { + public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -843,41 +983,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; @@ -889,9 +1031,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 76% 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 2ebe23e5de1..2e61a284eaa 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,37 +45,41 @@ private CreateBackupMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateBackupMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.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;
   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 @@ -66,29 +88,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the backup being created.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -99,11 +121,14 @@ public java.lang.String getName() { public static final int DATABASE_FIELD_NUMBER = 2; 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 @@ -112,29 +137,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 { @@ -145,12 +170,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 @@ -158,19 +186,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.
@@ -186,6 +221,8 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
   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]
@@ -202,6 +239,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 @@ -209,6 +247,8 @@ public boolean hasCancelTime() { return cancelTime_ != null; } /** + * + * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -225,6 +265,7 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 4; + * * @return The cancelTime. */ @java.lang.Override @@ -232,6 +273,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]
@@ -255,6 +298,7 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -266,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -296,12 +339,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;
@@ -311,26 +352,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;
@@ -361,96 +399,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].
@@ -458,33 +504,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();
@@ -508,9 +553,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
@@ -529,7 +574,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);
+      com.google.spanner.admin.database.v1.CreateBackupMetadata result =
+          new com.google.spanner.admin.database.v1.CreateBackupMetadata(this);
       result.name_ = name_;
       result.database_ = database_;
       if (progressBuilder_ == null) {
@@ -550,38 +596,39 @@ public com.google.spanner.admin.database.v1.CreateBackupMetadata buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -589,7 +636,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_;
         onChanged();
@@ -630,36 +678,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              database_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                database_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getProgressFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getCancelTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -672,18 +721,20 @@ public Builder mergeFrom(
 
     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; @@ -692,20 +743,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 { @@ -713,54 +765,61 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the backup being created.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the backup being created.
      * 
* * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -768,18 +827,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; @@ -788,20 +849,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 { @@ -809,54 +871,61 @@ 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) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); 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) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -864,36 +933,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 progressBuilder_ != null || 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. */ 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.
@@ -915,6 +997,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.
@@ -934,6 +1018,8 @@ public Builder setProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -945,7 +1031,9 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr
       if (progressBuilder_ == null) {
         if (progress_ != null) {
           progress_ =
-            com.google.spanner.admin.database.v1.OperationProgress.newBuilder(progress_).mergeFrom(value).buildPartial();
+              com.google.spanner.admin.database.v1.OperationProgress.newBuilder(progress_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           progress_ = value;
         }
@@ -957,6 +1045,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.
@@ -976,6 +1066,8 @@ public Builder clearProgress() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -984,11 +1076,13 @@ public Builder clearProgress() {
      * .google.spanner.admin.database.v1.OperationProgress progress = 3;
      */
     public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgressBuilder() {
-      
+
       onChanged();
       return getProgressFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -1000,11 +1094,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.
@@ -1013,14 +1110,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_;
@@ -1028,8 +1128,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]
@@ -1046,12 +1151,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 cancelTimeBuilder_ != null || cancelTime_ != null; } /** + * + * *
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1068,16 +1176,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]
@@ -1109,6 +1222,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]
@@ -1126,8 +1241,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();
         onChanged();
@@ -1138,6 +1252,8 @@ public Builder setCancelTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1159,7 +1275,7 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
         if (cancelTime_ != null) {
           cancelTime_ =
-            com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
         } else {
           cancelTime_ = value;
         }
@@ -1171,6 +1287,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]
@@ -1200,6 +1318,8 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1218,11 +1338,13 @@ public Builder clearCancelTime() {
      * .google.protobuf.Timestamp cancel_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
-      
+
       onChanged();
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1244,11 +1366,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]
@@ -1267,21 +1392,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);
     }
 
@@ -1291,12 +1419,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();
   }
@@ -1305,27 +1433,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;
@@ -1340,6 +1468,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 66%
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 69cfc26b106..81e67da1fa3 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,32 +44,35 @@ private CreateBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateBackupRequest(); } @java.lang.Override - public final com.google.protobuf.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; 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
@@ -61,7 +82,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 @@ -70,14 +94,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the instance in which the backup will be
    * created. This must be the same instance that contains the database the
@@ -87,17 +112,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 { @@ -108,6 +134,8 @@ public java.lang.String getParent() { public static final int BACKUP_ID_FIELD_NUMBER = 2; private volatile java.lang.Object backupId_; /** + * + * *
    * Required. The id of the backup to be created. The `backup_id` appended to
    * `parent` forms the full backup name of the form
@@ -115,6 +143,7 @@ public java.lang.String getParent() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The backupId. */ @java.lang.Override @@ -123,14 +152,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
@@ -138,16 +168,15 @@ public java.lang.String getBackupId() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for backupId. */ @java.lang.Override - public com.google.protobuf.ByteString - getBackupIdBytes() { + public com.google.protobuf.ByteString getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); backupId_ = b; return b; } else { @@ -158,11 +187,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 @@ -170,23 +204,34 @@ 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() { @@ -196,6 +241,8 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() 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
@@ -204,7 +251,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 @@ -212,6 +262,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
@@ -220,14 +272,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
@@ -236,14 +295,18 @@ 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() { + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { return getEncryptionConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +318,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -285,12 +347,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; @@ -300,26 +360,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; @@ -350,129 +407,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(); @@ -496,9 +560,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 @@ -517,7 +581,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); + com.google.spanner.admin.database.v1.CreateBackupRequest result = + new com.google.spanner.admin.database.v1.CreateBackupRequest(this); result.parent_ = parent_; result.backupId_ = backupId_; if (backupBuilder_ == null) { @@ -538,38 +603,39 @@ public com.google.spanner.admin.database.v1.CreateBackupRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -577,7 +643,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_; onChanged(); @@ -618,36 +685,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - backupId_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + backupId_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getBackupFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - case 34: { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 26 + case 34: + { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -660,6 +729,8 @@ public Builder mergeFrom( 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
@@ -669,14 +740,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; @@ -685,6 +758,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
@@ -694,16 +769,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 { @@ -711,6 +787,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
@@ -720,21 +798,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the instance in which the backup will be
      * created. This must be the same instance that contains the database the
@@ -744,16 +826,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); 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
@@ -763,17 +850,19 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -781,6 +870,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
@@ -788,13 +879,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; @@ -803,6 +894,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
@@ -810,15 +903,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 { @@ -826,6 +918,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
@@ -833,20 +927,22 @@ public java.lang.String getBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId( - java.lang.String value) { + public Builder setBackupId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + backupId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The id of the backup to be created. The `backup_id` appended to
      * `parent` forms the full backup name of the form
@@ -854,15 +950,18 @@ public Builder setBackupId(
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBackupId() { - + backupId_ = getDefaultInstance().getBackupId(); onChanged(); return this; } /** + * + * *
      * Required. The id of the backup to be created. The `backup_id` appended to
      * `parent` forms the full backup name of the form
@@ -870,16 +969,16 @@ public Builder clearBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes( - com.google.protobuf.ByteString value) { + public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + backupId_ = value; onChanged(); return this; @@ -887,39 +986,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 backupBuilder_ != null || 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. */ 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) { @@ -935,14 +1053,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(); onChanged(); @@ -953,17 +1074,23 @@ 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 (backup_ != null) { backup_ = - com.google.spanner.admin.database.v1.Backup.newBuilder(backup_).mergeFrom(value).buildPartial(); + com.google.spanner.admin.database.v1.Backup.newBuilder(backup_) + .mergeFrom(value) + .buildPartial(); } else { backup_ = value; } @@ -975,11 +1102,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() { if (backupBuilder_ == null) { @@ -993,48 +1124,64 @@ 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() { - + onChanged(); 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_; @@ -1042,8 +1189,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
@@ -1052,13 +1204,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 encryptionConfigBuilder_ != null || encryptionConfig_ != null; } /** + * + * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1067,17 +1224,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
@@ -1086,9 +1250,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(); @@ -1102,6 +1269,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
@@ -1110,7 +1279,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) { @@ -1124,6 +1295,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
@@ -1132,13 +1305,19 @@ 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 (encryptionConfig_ != null) { encryptionConfig_ = - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.newBuilder(encryptionConfig_).mergeFrom(value).buildPartial(); + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.newBuilder( + encryptionConfig_) + .mergeFrom(value) + .buildPartial(); } else { encryptionConfig_ = value; } @@ -1150,6 +1329,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
@@ -1158,7 +1339,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() { if (encryptionConfigBuilder_ == null) { @@ -1172,6 +1355,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
@@ -1180,14 +1365,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() { + 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
@@ -1196,17 +1386,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
@@ -1215,24 +1411,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); } @@ -1242,12 +1443,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(); } @@ -1256,27 +1457,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; @@ -1291,6 +1492,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 1c94b21e78b..50a386510ef 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,52 +28,57 @@
  *
  * 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;
   private volatile java.lang.Object database_;
   /**
+   *
+   *
    * 
    * The database being created.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @return The database. */ @java.lang.Override @@ -65,29 +87,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 { @@ -96,6 +118,7 @@ public java.lang.String getDatabase() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +130,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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 +154,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; } @@ -160,96 +182,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].
@@ -257,33 +287,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();
@@ -293,9 +322,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
@@ -314,7 +343,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);
+      com.google.spanner.admin.database.v1.CreateDatabaseMetadata result =
+          new com.google.spanner.admin.database.v1.CreateDatabaseMetadata(this);
       result.database_ = database_;
       onBuilt();
       return result;
@@ -324,38 +354,39 @@ public com.google.spanner.admin.database.v1.CreateDatabaseMetadata buildPartial(
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -363,7 +394,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_;
         onChanged();
@@ -394,17 +426,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              database_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                database_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -417,18 +451,20 @@ public Builder mergeFrom(
 
     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; @@ -437,20 +473,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 { @@ -458,61 +495,68 @@ 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) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; onChanged(); return this; } /** + * + * *
      * The database being created.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearDatabase() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); 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) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -522,12 +566,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(); } @@ -536,27 +580,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; @@ -571,6 +615,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 1ad94957f8d..067490d01b5 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,38 +46,44 @@ 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; 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 @@ -68,30 +92,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The 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 { @@ -102,6 +128,8 @@ public java.lang.String getParent() { public static final int CREATE_STATEMENT_FIELD_NUMBER = 2; 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
@@ -111,6 +139,7 @@ public java.lang.String getParent() {
    * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The createStatement. */ @java.lang.Override @@ -119,14 +148,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
@@ -136,16 +166,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,6 +185,8 @@ public java.lang.String getCreateStatement() { public static final int EXTRA_STATEMENTS_FIELD_NUMBER = 3; 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
@@ -164,13 +195,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
@@ -179,12 +212,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
@@ -193,6 +229,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. */ @@ -200,6 +237,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
@@ -208,24 +247,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 @@ -233,61 +277,89 @@ 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() { + public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { return getEncryptionConfig(); } public static final int DATABASE_DIALECT_FIELD_NUMBER = 5; private int 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 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() { + @java.lang.Override + public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.valueOf(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.valueOf(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; @@ -299,8 +371,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,7 +384,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); @@ -340,12 +413,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; @@ -355,23 +428,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; @@ -405,129 +475,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(); @@ -549,9 +626,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 @@ -570,7 +647,8 @@ 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); int from_bitField0_ = bitField0_; result.parent_ = parent_; result.createStatement_ = createStatement_; @@ -593,38 +671,39 @@ public com.google.spanner.admin.database.v1.CreateDatabaseRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -632,7 +711,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_; onChanged(); @@ -683,40 +763,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - createStatement_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + createStatement_ = input.readStringRequireUtf8(); - 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); + 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); - break; - } // case 34 - case 40: { - databaseDialect_ = input.readEnum(); + break; + } // case 34 + case 40: + { + databaseDialect_ = input.readEnum(); - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -726,23 +811,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; @@ -751,21 +841,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 { @@ -773,57 +866,70 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the instance 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -831,6 +937,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
@@ -840,13 +948,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; @@ -855,6 +963,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
@@ -864,15 +974,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 { @@ -880,6 +989,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
@@ -889,20 +1000,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) { + public Builder setCreateStatement(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + createStatement_ = value; 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
@@ -912,15 +1025,18 @@ public Builder setCreateStatement(
      * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCreateStatement() { - + createStatement_ = getDefaultInstance().getCreateStatement(); 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
@@ -930,29 +1046,33 @@ 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) { + public Builder setCreateStatementBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + createStatement_ = value; onChanged(); 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_ & 0x00000001) != 0)) { extraStatements_ = new com.google.protobuf.LazyStringArrayList(extraStatements_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -961,13 +1081,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
@@ -976,12 +1098,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
@@ -990,6 +1115,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. */ @@ -997,6 +1123,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
@@ -1005,14 +1133,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
@@ -1021,21 +1151,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) { + public Builder setExtraStatements(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExtraStatementsIsMutable(); + 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
@@ -1044,20 +1176,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) { + public Builder addExtraStatements(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExtraStatementsIsMutable(); + 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
@@ -1066,18 +1200,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
@@ -1086,6 +1221,7 @@ public Builder addAllExtraStatements(
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearExtraStatements() { @@ -1095,6 +1231,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
@@ -1103,15 +1241,15 @@ 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) { + public Builder addExtraStatementsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExtraStatementsIsMutable(); extraStatements_.add(value); onChanged(); @@ -1120,47 +1258,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 encryptionConfigBuilder_ != null || 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. */ 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(); @@ -1174,13 +1332,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) { @@ -1194,19 +1356,26 @@ 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 (encryptionConfig_ != null) { encryptionConfig_ = - com.google.spanner.admin.database.v1.EncryptionConfig.newBuilder(encryptionConfig_).mergeFrom(value).buildPartial(); + com.google.spanner.admin.database.v1.EncryptionConfig.newBuilder(encryptionConfig_) + .mergeFrom(value) + .buildPartial(); } else { encryptionConfig_ = value; } @@ -1218,13 +1387,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() { if (encryptionConfigBuilder_ == null) { @@ -1238,54 +1411,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() { + 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_; @@ -1293,51 +1484,75 @@ 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. */ public Builder setDatabaseDialectValue(int value) { - + databaseDialect_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.valueOf(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.valueOf(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. */ @@ -1345,28 +1560,33 @@ public Builder setDatabaseDialect(com.google.spanner.admin.database.v1.DatabaseD if (value == null) { throw new NullPointerException(); } - + databaseDialect_ = value.getNumber(); onChanged(); 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() { - + databaseDialect_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1376,12 +1596,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 +1610,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 +1645,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 70% 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 300d23911e8..fe79a020d62 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;
@@ -232,6 +268,8 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The name of the database. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -241,6 +279,7 @@ private State(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -249,14 +288,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>`,
@@ -266,16 +306,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 { @@ -286,38 +325,57 @@ public java.lang.String getName() { public static final int STATE_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override + public com.google.spanner.admin.database.v1.Database.State getState() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.Database.State result = com.google.spanner.admin.database.v1.Database.State.valueOf(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.valueOf(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 +383,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 +399,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 +416,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,25 +434,36 @@ 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() { @@ -392,6 +473,8 @@ public com.google.spanner.admin.database.v1.RestoreInfoOrBuilder getRestoreInfoO 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 +482,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 +493,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 +502,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,16 +524,21 @@ 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() { + public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { return getEncryptionConfig(); } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 8; 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
@@ -449,13 +549,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
@@ -466,14 +571,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
@@ -484,13 +593,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
@@ -501,13 +614,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
@@ -518,7 +635,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( @@ -529,6 +648,8 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio public static final int VERSION_RETENTION_PERIOD_FIELD_NUMBER = 6; 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
@@ -538,6 +659,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 @@ -546,14 +668,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
@@ -563,16 +686,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 { @@ -583,6 +705,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
@@ -591,7 +715,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 @@ -599,6 +726,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
@@ -607,14 +736,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
@@ -623,7 +759,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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder() { @@ -633,6 +771,8 @@ public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder() public static final int DEFAULT_LEADER_FIELD_NUMBER = 9; private volatile java.lang.Object defaultLeader_; /** + * + * *
    * Output only. The read-write region which contains the database's leader
    * replicas.
@@ -642,6 +782,7 @@ public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder()
    * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The defaultLeader. */ @java.lang.Override @@ -650,14 +791,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.
@@ -667,16 +809,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 { @@ -687,31 +828,47 @@ public java.lang.String getDefaultLeader() { public static final int DATABASE_DIALECT_FIELD_NUMBER = 10; private int 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 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() { + @java.lang.Override + public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.valueOf(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.valueOf(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; @@ -723,12 +880,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) { @@ -752,7 +909,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); @@ -767,39 +926,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; @@ -809,42 +964,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; @@ -892,130 +1040,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(); @@ -1064,9 +1218,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 @@ -1085,7 +1239,8 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; result.state_ = state_; @@ -1129,38 +1284,39 @@ public com.google.spanner.admin.database.v1.Database buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -1203,9 +1359,10 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.Database other) { encryptionInfoBuilder_ = null; encryptionInfo_ = other.encryptionInfo_; bitField0_ = (bitField0_ & ~0x00000001); - encryptionInfoBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEncryptionInfoFieldBuilder() : null; + encryptionInfoBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEncryptionInfoFieldBuilder() + : null; } else { encryptionInfoBuilder_.addAllMessages(other.encryptionInfo_); } @@ -1251,78 +1408,83 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: { - state_ = input.readEnum(); - - break; - } // case 16 - case 26: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 34: { - input.readMessage( - getRestoreInfoFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 34 - case 42: { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 42 - case 50: { - versionRetentionPeriod_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: { - input.readMessage( - getEarliestVersionTimeFieldBuilder().getBuilder(), - extensionRegistry); - - 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(); - - break; - } // case 74 - case 80: { - databaseDialect_ = input.readEnum(); - - break; - } // case 80 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: + { + state_ = input.readEnum(); + + break; + } // case 16 + case 26: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 34: + { + input.readMessage(getRestoreInfoFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 34 + case 42: + { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 42 + case 50: + { + versionRetentionPeriod_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: + { + input.readMessage( + getEarliestVersionTimeFieldBuilder().getBuilder(), extensionRegistry); + + 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(); + + break; + } // case 74 + case 80: + { + databaseDialect_ = input.readEnum(); + + 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) { @@ -1332,10 +1494,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>`,
@@ -1345,13 +1510,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; @@ -1360,6 +1525,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1369,15 +1536,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 { @@ -1385,6 +1551,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1394,20 +1562,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1417,15 +1587,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1435,16 +1608,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1452,51 +1625,75 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.Database.State result = com.google.spanner.admin.database.v1.Database.State.valueOf(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.valueOf(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. */ @@ -1504,21 +1701,26 @@ public Builder setState(com.google.spanner.admin.database.v1.Database.State valu if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -1526,39 +1728,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 createTimeBuilder_ != null || 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. */ 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) { @@ -1574,14 +1795,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(); onChanged(); @@ -1592,17 +1816,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1614,11 +1842,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() { if (createTimeBuilder_ == null) { @@ -1632,48 +1864,64 @@ 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() { - + onChanged(); 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_; @@ -1681,42 +1929,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 restoreInfoBuilder_ != null || 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. */ 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) { @@ -1732,12 +1999,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) { @@ -1751,18 +2022,24 @@ 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 (restoreInfo_ != null) { restoreInfo_ = - com.google.spanner.admin.database.v1.RestoreInfo.newBuilder(restoreInfo_).mergeFrom(value).buildPartial(); + com.google.spanner.admin.database.v1.RestoreInfo.newBuilder(restoreInfo_) + .mergeFrom(value) + .buildPartial(); } else { restoreInfo_ = value; } @@ -1774,12 +2051,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() { if (restoreInfoBuilder_ == null) { @@ -1793,51 +2074,67 @@ 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() { - + onChanged(); 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_; @@ -1845,8 +2142,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.
@@ -1854,13 +2156,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 encryptionConfigBuilder_ != null || encryptionConfig_ != null; } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -1868,17 +2175,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.
@@ -1886,9 +2200,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(); @@ -1902,6 +2219,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.
@@ -1909,7 +2228,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) { @@ -1923,6 +2244,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.
@@ -1930,13 +2253,18 @@ 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 (encryptionConfig_ != null) { encryptionConfig_ = - com.google.spanner.admin.database.v1.EncryptionConfig.newBuilder(encryptionConfig_).mergeFrom(value).buildPartial(); + com.google.spanner.admin.database.v1.EncryptionConfig.newBuilder(encryptionConfig_) + .mergeFrom(value) + .buildPartial(); } else { encryptionConfig_ = value; } @@ -1948,6 +2276,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.
@@ -1955,7 +2285,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() { if (encryptionConfigBuilder_ == null) { @@ -1969,6 +2301,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.
@@ -1976,14 +2310,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() { + onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -1991,17 +2330,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.
@@ -2009,35 +2354,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_ & 0x00000001) != 0)) { - encryptionInfo_ = new java.util.ArrayList(encryptionInfo_); + encryptionInfo_ = + new java.util.ArrayList( + encryptionInfo_); bitField0_ |= 0x00000001; - } + } } 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
@@ -2048,9 +2406,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 { @@ -2058,6 +2419,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
@@ -2068,7 +2431,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) { @@ -2078,6 +2443,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
@@ -2088,7 +2455,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) { @@ -2098,6 +2467,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
@@ -2108,7 +2479,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) { @@ -2125,6 +2498,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
@@ -2135,7 +2510,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) { @@ -2149,6 +2526,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
@@ -2159,7 +2538,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) { @@ -2175,6 +2556,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
@@ -2185,7 +2568,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) { @@ -2202,6 +2587,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
@@ -2212,7 +2599,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) { @@ -2226,6 +2615,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
@@ -2236,7 +2627,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) { @@ -2250,6 +2643,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
@@ -2260,14 +2655,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); @@ -2275,6 +2671,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
@@ -2285,7 +2683,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) { @@ -2298,6 +2698,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
@@ -2308,7 +2710,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) { @@ -2321,6 +2725,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
@@ -2331,13 +2737,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
@@ -2348,16 +2758,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
@@ -2368,10 +2783,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 { @@ -2379,6 +2796,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
@@ -2389,13 +2808,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
@@ -2406,14 +2829,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
@@ -2424,18 +2852,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_ & 0x00000001) != 0), getParentForChildren(), @@ -2447,6 +2883,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
@@ -2455,14 +2893,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; @@ -2471,6 +2910,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
@@ -2479,16 +2920,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 { @@ -2496,6 +2937,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
@@ -2504,21 +2947,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) { + public Builder setVersionRetentionPeriod(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + versionRetentionPeriod_ = value; 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
@@ -2527,16 +2973,20 @@ 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() { - + versionRetentionPeriod_ = getDefaultInstance().getVersionRetentionPeriod(); 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
@@ -2545,17 +2995,18 @@ 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) { + public Builder setVersionRetentionPeriodBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + versionRetentionPeriod_ = value; onChanged(); return this; @@ -2563,8 +3014,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
@@ -2573,13 +3029,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 earliestVersionTimeBuilder_ != null || 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
@@ -2588,17 +3049,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
@@ -2607,7 +3075,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) { @@ -2623,6 +3093,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
@@ -2631,10 +3103,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(); onChanged(); @@ -2645,6 +3118,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
@@ -2653,13 +3128,17 @@ 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 (earliestVersionTime_ != null) { earliestVersionTime_ = - com.google.protobuf.Timestamp.newBuilder(earliestVersionTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(earliestVersionTime_) + .mergeFrom(value) + .buildPartial(); } else { earliestVersionTime_ = value; } @@ -2671,6 +3150,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
@@ -2679,7 +3160,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() { if (earliestVersionTimeBuilder_ == null) { @@ -2693,6 +3176,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
@@ -2701,14 +3186,18 @@ 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() { - + onChanged(); 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
@@ -2717,17 +3206,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
@@ -2736,17 +3230,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_; @@ -2754,6 +3253,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.
@@ -2763,13 +3264,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; @@ -2778,6 +3279,8 @@ public java.lang.String getDefaultLeader() { } } /** + * + * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -2787,15 +3290,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 { @@ -2803,6 +3305,8 @@ public java.lang.String getDefaultLeader() { } } /** + * + * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -2812,20 +3316,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) { + public Builder setDefaultLeader(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultLeader_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -2835,15 +3341,18 @@ public Builder setDefaultLeader(
      * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDefaultLeader() { - + defaultLeader_ = getDefaultInstance().getDefaultLeader(); onChanged(); return this; } /** + * + * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -2853,16 +3362,16 @@ 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) { + public Builder setDefaultLeaderBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultLeader_ = value; onChanged(); return this; @@ -2870,51 +3379,75 @@ 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. */ public Builder setDatabaseDialectValue(int value) { - + databaseDialect_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.valueOf(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.valueOf(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. */ @@ -2922,28 +3455,33 @@ public Builder setDatabaseDialect(com.google.spanner.admin.database.v1.DatabaseD if (value == null) { throw new NullPointerException(); } - + databaseDialect_ = value.getNumber(); onChanged(); 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() { - + databaseDialect_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2953,12 +3491,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(); } @@ -2967,27 +3505,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; @@ -3002,6 +3540,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 18f0f286b32..caf5d8c8a28 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,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/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; 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/
@@ -60,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -68,14 +90,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/
@@ -85,16 +108,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 { @@ -103,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -114,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_); } @@ -139,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.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; } @@ -167,129 +189,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(); @@ -299,9 +327,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 @@ -320,7 +348,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); + com.google.spanner.admin.database.v1.DatabaseRole result = + new com.google.spanner.admin.database.v1.DatabaseRole(this); result.name_ = name_; onBuilt(); return result; @@ -330,38 +359,39 @@ public com.google.spanner.admin.database.v1.DatabaseRole buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -369,7 +399,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_; onChanged(); @@ -400,17 +431,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -423,6 +456,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -432,13 +467,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; @@ -447,6 +482,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/
@@ -456,15 +493,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 { @@ -472,6 +508,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/
@@ -481,20 +519,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -504,15 +544,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -522,23 +565,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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -548,12 +591,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(); } @@ -562,27 +605,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; @@ -597,6 +640,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 62% 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 2db64e41ce7..132def1d553 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,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; 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 @@ -66,31 +90,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the backup to delete.
    * Values are of the form
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -99,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -135,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -163,129 +189,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(); @@ -295,9 +328,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 @@ -316,7 +349,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); + com.google.spanner.admin.database.v1.DeleteBackupRequest result = + new com.google.spanner.admin.database.v1.DeleteBackupRequest(this); result.name_ = name_; onBuilt(); return result; @@ -326,38 +360,39 @@ public com.google.spanner.admin.database.v1.DeleteBackupRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -365,7 +400,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_; onChanged(); @@ -396,17 +432,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,20 +457,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -441,22 +483,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 { @@ -464,67 +509,80 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -534,12 +592,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(); } @@ -548,27 +606,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; @@ -583,6 +641,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 62% 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 728dc0b0f39..c665eb03209 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,61 +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/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; 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 @@ -64,29 +88,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 { @@ -95,6 +121,7 @@ public java.lang.String getDatabase() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,8 +133,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -131,15 +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.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; } @@ -159,129 +185,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(); @@ -291,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_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 @@ -312,7 +345,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); + com.google.spanner.admin.database.v1.DropDatabaseRequest result = + new com.google.spanner.admin.database.v1.DropDatabaseRequest(this); result.database_ = database_; onBuilt(); return result; @@ -322,38 +356,39 @@ public com.google.spanner.admin.database.v1.DropDatabaseRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -361,7 +396,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_; onChanged(); @@ -392,17 +428,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - database_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + database_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -415,18 +453,22 @@ public Builder mergeFrom( 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; @@ -435,20 +477,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 { @@ -456,61 +501,74 @@ 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) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); 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) = { ... } + * + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = 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); } @@ -520,12 +578,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(); } @@ -534,27 +592,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; @@ -569,6 +627,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 25f529806d8..f6bd4cc81f4 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,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/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; private volatile java.lang.Object kmsKeyName_; /** + * + * *
    * The Cloud KMS key to be used for encrypting and decrypting
    * the database. Values are of the form
@@ -58,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string kms_key_name = 2 [(.google.api.resource_reference) = { ... } + * * @return The kmsKeyName. */ @java.lang.Override @@ -66,14 +88,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
@@ -81,16 +104,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 { @@ -99,6 +121,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +133,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -135,15 +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.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; } @@ -163,129 +185,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(); @@ -295,9 +324,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 @@ -316,7 +345,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); + com.google.spanner.admin.database.v1.EncryptionConfig result = + new com.google.spanner.admin.database.v1.EncryptionConfig(this); result.kmsKeyName_ = kmsKeyName_; onBuilt(); return result; @@ -326,38 +356,39 @@ public com.google.spanner.admin.database.v1.EncryptionConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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; @@ -365,7 +396,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_; onChanged(); @@ -396,17 +428,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - kmsKeyName_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + kmsKeyName_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,6 +453,8 @@ public Builder mergeFrom( private java.lang.Object kmsKeyName_ = ""; /** + * + * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -426,13 +462,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; @@ -441,6 +477,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -448,15 +486,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 { @@ -464,6 +501,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -471,20 +510,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) { + public Builder setKmsKeyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** + * + * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -492,15 +533,18 @@ public Builder setKmsKeyName(
      * 
* * string kms_key_name = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** + * + * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -508,23 +552,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) { + public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -534,12 +578,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(); } @@ -548,27 +592,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; @@ -583,6 +627,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 66% 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 a48e8349b9d..8bdb75e9b15 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,40 +238,59 @@ private Type(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 3;
   private int 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 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() { + @java.lang.Override + public com.google.spanner.admin.database.v1.EncryptionInfo.Type getEncryptionType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.EncryptionInfo.Type result = com.google.spanner.admin.database.v1.EncryptionInfo.Type.valueOf(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.valueOf(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 @@ -246,27 +298,36 @@ 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() { @@ -276,12 +337,17 @@ public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { public static final int KMS_KEY_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object kmsKeyVersion_; /** + * + * *
    * Output only. 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 +356,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 +390,7 @@ public java.lang.String getKmsKeyVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -333,12 +402,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 +425,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 +440,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 +479,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(); @@ -552,9 +625,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 @@ -573,7 +646,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); + com.google.spanner.admin.database.v1.EncryptionInfo result = + new com.google.spanner.admin.database.v1.EncryptionInfo(this); result.encryptionType_ = encryptionType_; if (encryptionStatusBuilder_ == null) { result.encryptionStatus_ = encryptionStatus_; @@ -589,38 +663,39 @@ public com.google.spanner.admin.database.v1.EncryptionInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -628,7 +703,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()); } @@ -665,29 +741,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - kmsKeyVersion_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: { - encryptionType_ = input.readEnum(); - - break; - } // case 24 - case 34: { - input.readMessage( - getEncryptionStatusFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + kmsKeyVersion_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: + { + encryptionType_ = input.readEnum(); + + break; + } // case 24 + case 34: + { + input.readMessage( + getEncryptionStatusFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -700,73 +779,103 @@ public Builder mergeFrom( 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. */ public Builder setEncryptionTypeValue(int value) { - + encryptionType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.EncryptionInfo.Type result = com.google.spanner.admin.database.v1.EncryptionInfo.Type.valueOf(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.valueOf(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(); } - + encryptionType_ = value.getNumber(); onChanged(); 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() { - + encryptionType_ = 0; onChanged(); return this; @@ -774,45 +883,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 encryptionStatusBuilder_ != null || 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. */ 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) { @@ -828,16 +951,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(); onChanged(); @@ -848,19 +973,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 (encryptionStatus_ != null) { encryptionStatus_ = - com.google.rpc.Status.newBuilder(encryptionStatus_).mergeFrom(value).buildPartial(); + com.google.rpc.Status.newBuilder(encryptionStatus_).mergeFrom(value).buildPartial(); } else { encryptionStatus_ = value; } @@ -872,13 +1000,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() { if (encryptionStatusBuilder_ == null) { @@ -892,54 +1023,65 @@ 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() { - + onChanged(); 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_; @@ -947,19 +1089,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; @@ -968,21 +1114,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 { @@ -990,64 +1139,77 @@ 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) { + public Builder setKmsKeyVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyVersion_ = value; 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() { - + kmsKeyVersion_ = getDefaultInstance().getKmsKeyVersion(); 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) = { ... } + * + * * @param value The bytes for kmsKeyVersion to set. * @return This builder for chaining. */ - public Builder setKmsKeyVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setKmsKeyVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyVersion_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1057,12 +1219,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(); } @@ -1071,27 +1233,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; @@ -1106,6 +1268,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 e0408975159..05034d4fa07 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,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; 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 @@ -66,31 +90,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the backup.
    * Values are of the form
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -99,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -135,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -163,129 +189,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(); @@ -295,9 +328,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 @@ -316,7 +349,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); + com.google.spanner.admin.database.v1.GetBackupRequest result = + new com.google.spanner.admin.database.v1.GetBackupRequest(this); result.name_ = name_; onBuilt(); return result; @@ -326,38 +360,39 @@ public com.google.spanner.admin.database.v1.GetBackupRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -365,7 +400,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_; onChanged(); @@ -396,17 +432,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,20 +457,24 @@ public Builder mergeFrom( 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; @@ -441,22 +483,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 { @@ -464,67 +509,80 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -534,12 +592,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(); } @@ -548,27 +606,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; @@ -583,6 +641,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 7eee232dbc5..d568a20a51c 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,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; 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 @@ -66,31 +90,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 { @@ -99,6 +125,7 @@ public java.lang.String getDatabase() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -135,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -163,129 +189,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(); @@ -295,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_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 @@ -316,7 +349,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); + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest result = + new com.google.spanner.admin.database.v1.GetDatabaseDdlRequest(this); result.database_ = database_; onBuilt(); return result; @@ -326,38 +360,39 @@ public com.google.spanner.admin.database.v1.GetDatabaseDdlRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -365,7 +400,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_; onChanged(); @@ -396,17 +432,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - database_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + database_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,20 +457,24 @@ public Builder mergeFrom( 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; @@ -441,22 +483,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 { @@ -464,67 +509,80 @@ 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) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); 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) = { ... } + * + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -534,12 +592,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(); } @@ -548,27 +606,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; @@ -583,6 +641,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 9bb9240a64a..39078a788f9 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,87 +1,114 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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; 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. */ @@ -89,21 +116,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; @@ -115,8 +145,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -145,15 +174,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; } @@ -175,129 +204,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(); @@ -307,9 +343,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 @@ -328,7 +364,8 @@ 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); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { statements_ = statements_.getUnmodifiableView(); @@ -343,38 +380,39 @@ public com.google.spanner.admin.database.v1.GetDatabaseDdlResponse buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -382,7 +420,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_; @@ -419,18 +458,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) { @@ -440,47 +481,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. */ @@ -488,85 +540,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) { + public Builder setStatements(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStatementsIsMutable(); + 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) { + public Builder addStatements(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStatementsIsMutable(); + 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() { @@ -576,29 +638,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) { + public Builder addStatementsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + 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); } @@ -608,12 +672,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(); } @@ -622,27 +686,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; @@ -657,6 +721,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 63% 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 a41074a8b5f..db2cd3787c1 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,62 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; 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 @@ -65,30 +89,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The 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 { @@ -97,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -133,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -161,129 +187,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(); @@ -293,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_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 @@ -314,7 +347,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); + com.google.spanner.admin.database.v1.GetDatabaseRequest result = + new com.google.spanner.admin.database.v1.GetDatabaseRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,38 +358,39 @@ public com.google.spanner.admin.database.v1.GetDatabaseRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -363,7 +398,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_; onChanged(); @@ -394,17 +430,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,19 +455,23 @@ public Builder mergeFrom( 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; @@ -438,21 +480,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 { @@ -460,64 +505,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,12 +585,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(); } @@ -541,27 +599,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; @@ -576,6 +634,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 82% 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 10228360ad6..e98ba4fa272 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,38 +46,44 @@ 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;
   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 @@ -68,30 +92,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The 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 { @@ -102,6 +128,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; 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
@@ -166,6 +194,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -174,14 +203,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
@@ -246,16 +276,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 { @@ -266,12 +295,15 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; 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 @@ -282,6 +314,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; 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]
@@ -290,6 +324,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -298,14 +333,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]
@@ -314,16 +350,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 { @@ -332,6 +367,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -343,8 +379,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -373,8 +408,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_); @@ -387,21 +421,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; } @@ -427,96 +458,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].
@@ -524,33 +563,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 +604,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,7 +626,8 @@ 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);
+      com.google.spanner.admin.database.v1.ListBackupOperationsRequest result =
+          new com.google.spanner.admin.database.v1.ListBackupOperationsRequest(this);
       result.parent_ = parent_;
       result.filter_ = filter_;
       result.pageSize_ = pageSize_;
@@ -600,46 +640,50 @@ public com.google.spanner.admin.database.v1.ListBackupOperationsRequest buildPar
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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_;
         onChanged();
@@ -681,32 +725,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              filter_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                filter_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 24: {
-              pageSize_ = input.readInt32();
+                break;
+              } // case 18
+            case 24:
+              {
+                pageSize_ = input.readInt32();
 
-              break;
-            } // case 24
-            case 34: {
-              pageToken_ = input.readStringRequireUtf8();
+                break;
+              } // case 24
+            case 34:
+              {
+                pageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -719,19 +768,23 @@ public Builder mergeFrom(
 
     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; @@ -740,21 +793,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 { @@ -762,57 +818,70 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -820,6 +889,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
@@ -884,13 +955,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; @@ -899,6 +970,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
@@ -963,15 +1036,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 { @@ -979,6 +1051,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
@@ -1043,20 +1117,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression that filters the list of returned backup operations.
      * A filter expression consists of a field name, a
@@ -1121,15 +1197,18 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression that filters the list of returned backup operations.
      * A filter expression consists of a field name, a
@@ -1194,29 +1273,32 @@ public Builder clearFilter() {
      * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - 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 @@ -1224,32 +1306,38 @@ 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; 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() { - + pageSize_ = 0; onChanged(); return this; @@ -1257,6 +1345,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]
@@ -1265,13 +1355,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; @@ -1280,6 +1370,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]
@@ -1288,15 +1380,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 { @@ -1304,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]
@@ -1312,20 +1405,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -1334,15 +1429,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -1351,23 +1449,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1377,41 +1475,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; @@ -1423,9 +1523,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 78% 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 6d2028d1e40..738566cbfb7 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,32 +45,35 @@ 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;
   private java.util.List operations_;
   /**
+   *
+   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -72,6 +93,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
@@ -87,11 +110,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
@@ -111,6 +136,8 @@ public int getOperationsCount() {
     return operations_.size();
   }
   /**
+   *
+   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -130,6 +157,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
@@ -145,14 +174,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;
   private volatile java.lang.Object nextPageToken_;
   /**
+   *
+   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -160,6 +190,7 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -168,14 +199,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]
@@ -183,16 +215,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 { @@ -201,6 +232,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -212,8 +244,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } @@ -230,8 +261,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_); @@ -244,17 +274,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; } @@ -278,96 +307,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].
@@ -375,33 +413,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();
@@ -418,13 +456,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();
     }
 
@@ -439,7 +478,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (operationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -459,46 +499,50 @@ public com.google.spanner.admin.database.v1.ListBackupOperationsResponse buildPa
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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()) {
@@ -517,9 +561,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_);
           }
@@ -555,30 +600,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();
+            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();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -588,21 +634,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
@@ -625,6 +678,8 @@ public java.util.List getOperationsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -647,6 +702,8 @@ public int getOperationsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -669,6 +726,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
@@ -683,8 +742,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();
@@ -698,6 +756,8 @@ public Builder setOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -724,6 +784,8 @@ public Builder setOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -752,6 +814,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
@@ -766,8 +830,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();
@@ -781,6 +844,8 @@ public Builder addOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -795,8 +860,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());
@@ -807,6 +871,8 @@ public Builder addOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -833,6 +899,8 @@ public Builder addOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -851,8 +919,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);
@@ -860,6 +927,8 @@ public Builder addAllOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -885,6 +954,8 @@ public Builder clearOperations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -910,6 +981,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
@@ -924,11 +997,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
@@ -943,14 +1017,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
@@ -965,8 +1041,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 {
@@ -974,6 +1050,8 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -989,10 +1067,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
@@ -1007,12 +1087,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
@@ -1027,20 +1108,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_;
@@ -1048,6 +1131,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]
@@ -1055,13 +1140,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; @@ -1070,6 +1155,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1077,15 +1164,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 { @@ -1093,6 +1179,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1100,20 +1188,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1121,15 +1211,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1137,23 +1230,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1163,41 +1256,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; @@ -1209,9 +1304,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 7e9b0f74369..cb567719afc 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,38 +45,44 @@ 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; 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 @@ -67,30 +91,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 { @@ -101,6 +127,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; 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
@@ -134,6 +162,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -142,14 +171,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
@@ -183,16 +213,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 { @@ -203,12 +232,15 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; 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 @@ -219,6 +251,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; 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
@@ -227,6 +261,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -235,14 +270,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
@@ -251,16 +287,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 { @@ -269,6 +304,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -310,8 +345,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_); @@ -324,21 +358,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; } @@ -364,129 +395,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 +540,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,7 +561,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); + com.google.spanner.admin.database.v1.ListBackupsRequest result = + new com.google.spanner.admin.database.v1.ListBackupsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -536,38 +575,39 @@ public com.google.spanner.admin.database.v1.ListBackupsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -575,7 +615,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_; onChanged(); @@ -617,32 +658,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - filter_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + filter_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 24: { - pageSize_ = input.readInt32(); + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); - break; - } // case 24 - case 34: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 24 + case 34: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -655,19 +701,23 @@ public Builder mergeFrom( 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; @@ -676,21 +726,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 { @@ -698,57 +751,70 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -756,6 +822,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
@@ -789,13 +857,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; @@ -804,6 +872,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
@@ -837,15 +907,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 { @@ -853,6 +922,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
@@ -886,20 +957,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression that filters the list of returned backups.
      * A filter expression consists of a field name, a comparison operator, and a
@@ -933,15 +1006,18 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); 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
@@ -975,29 +1051,32 @@ public Builder clearFilter() {
      * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - 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 @@ -1005,32 +1084,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1038,6 +1123,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
@@ -1046,13 +1133,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; @@ -1061,6 +1148,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
@@ -1069,15 +1158,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 { @@ -1085,6 +1173,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
@@ -1093,20 +1183,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -1115,15 +1207,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -1132,23 +1227,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1158,12 +1253,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(); } @@ -1172,27 +1267,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; @@ -1207,6 +1302,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 778002b7a34..7e19475c1c2 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,32 +44,35 @@ private ListBackupsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListBackupsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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; 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`.
@@ -64,6 +85,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`.
@@ -72,11 +95,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`.
@@ -89,6 +114,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`.
@@ -101,6 +128,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`.
@@ -109,14 +138,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;
   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
@@ -124,6 +154,7 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -132,14 +163,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -147,16 +179,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -165,6 +196,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,8 +208,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < backups_.size(); i++) { output.writeMessage(1, backups_.get(i)); } @@ -194,8 +225,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_); @@ -208,17 +238,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -242,129 +271,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(); @@ -381,9 +417,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 @@ -402,7 +438,8 @@ 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); int from_bitField0_ = bitField0_; if (backupsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -422,38 +459,39 @@ public com.google.spanner.admin.database.v1.ListBackupsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -461,7 +499,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()) { @@ -480,9 +519,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_); } @@ -518,30 +558,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(); + 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(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -551,21 +593,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`.
@@ -581,6 +630,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`.
@@ -596,6 +647,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`.
@@ -611,6 +664,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`.
@@ -618,8 +673,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();
@@ -633,6 +687,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`.
@@ -652,6 +708,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`.
@@ -673,6 +731,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`.
@@ -680,8 +740,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();
@@ -695,6 +754,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`.
@@ -702,8 +763,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());
@@ -714,6 +774,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`.
@@ -733,6 +795,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`.
@@ -744,8 +808,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);
@@ -753,6 +816,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`.
@@ -771,6 +836,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`.
@@ -789,6 +856,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`.
@@ -796,11 +865,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`.
@@ -808,14 +878,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`.
@@ -823,8 +895,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 {
@@ -832,6 +904,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`.
@@ -840,10 +914,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`.
@@ -851,12 +927,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`.
@@ -864,20 +941,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_;
@@ -885,6 +965,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
@@ -892,13 +974,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; @@ -907,6 +989,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
@@ -914,15 +998,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -930,6 +1013,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
@@ -937,20 +1022,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -958,15 +1045,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -974,23 +1064,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,12 +1090,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(); } @@ -1014,27 +1104,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; @@ -1049,6 +1139,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 dd336633a10..76752e7b128 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,38 +46,44 @@ 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;
   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 @@ -68,30 +92,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The 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 { @@ -102,6 +128,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * An expression that filters the list of returned operations.
    * A filter expression consists of a field name, a
@@ -142,6 +170,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -150,14 +179,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
@@ -198,16 +228,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 { @@ -218,12 +247,15 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; 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 @@ -234,6 +266,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; 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]
@@ -242,6 +276,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -250,14 +285,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]
@@ -266,16 +302,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 { @@ -284,6 +319,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,8 +331,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -325,8 +360,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_); @@ -339,21 +373,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; } @@ -379,96 +410,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].
@@ -476,33 +516,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 +558,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,7 +581,8 @@ 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);
+      com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest result =
+          new com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest(this);
       result.parent_ = parent_;
       result.filter_ = filter_;
       result.pageSize_ = pageSize_;
@@ -552,46 +595,51 @@ public com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest buildP
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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_;
         onChanged();
@@ -633,32 +681,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              filter_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                filter_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 24: {
-              pageSize_ = input.readInt32();
+                break;
+              } // case 18
+            case 24:
+              {
+                pageSize_ = input.readInt32();
 
-              break;
-            } // case 24
-            case 34: {
-              pageToken_ = input.readStringRequireUtf8();
+                break;
+              } // case 24
+            case 34:
+              {
+                pageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -671,19 +724,23 @@ public Builder mergeFrom(
 
     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; @@ -692,21 +749,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 { @@ -714,57 +774,70 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -772,6 +845,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
@@ -812,13 +887,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; @@ -827,6 +902,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -867,15 +944,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 { @@ -883,6 +959,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -923,20 +1001,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -977,15 +1057,18 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -1026,29 +1109,32 @@ public Builder clearFilter() {
      * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - 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 @@ -1056,32 +1142,38 @@ 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; 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() { - + pageSize_ = 0; onChanged(); return this; @@ -1089,6 +1181,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]
@@ -1097,13 +1191,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; @@ -1112,6 +1206,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]
@@ -1120,15 +1216,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 { @@ -1136,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]
@@ -1144,20 +1241,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -1166,15 +1265,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -1183,23 +1285,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1209,41 +1311,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; @@ -1255,9 +1359,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 1f7d628b368..ad1b7e491e4 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,32 +46,35 @@ 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;
   private java.util.List operations_;
   /**
+   *
+   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -68,6 +90,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
@@ -79,11 +103,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
@@ -99,6 +125,8 @@ public int getOperationsCount() {
     return operations_.size();
   }
   /**
+   *
+   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -114,6 +142,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
@@ -125,14 +155,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;
   private volatile java.lang.Object nextPageToken_;
   /**
+   *
+   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -140,6 +171,7 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -148,14 +180,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]
@@ -163,16 +196,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 { @@ -181,6 +213,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,8 +225,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } @@ -210,8 +242,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_); @@ -224,17 +255,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; } @@ -258,96 +288,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].
@@ -355,33 +394,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();
@@ -398,14 +437,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
@@ -419,7 +460,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (operationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -439,46 +481,51 @@ public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse build
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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()) {
@@ -497,9 +544,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_);
           }
@@ -535,30 +583,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();
+            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();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -568,21 +617,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
@@ -601,6 +657,8 @@ public java.util.List getOperationsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -619,6 +677,8 @@ public int getOperationsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -637,6 +697,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
@@ -647,8 +709,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();
@@ -662,6 +723,8 @@ public Builder setOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -684,6 +747,8 @@ public Builder setOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -708,6 +773,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
@@ -718,8 +785,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();
@@ -733,6 +799,8 @@ public Builder addOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -743,8 +811,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());
@@ -755,6 +822,8 @@ public Builder addOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -777,6 +846,8 @@ public Builder addOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -791,8 +862,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);
@@ -800,6 +870,8 @@ public Builder addAllOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -821,6 +893,8 @@ public Builder clearOperations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -842,6 +916,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
@@ -852,11 +928,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
@@ -867,14 +944,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
@@ -885,8 +964,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 {
@@ -894,6 +973,8 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -905,10 +986,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
@@ -919,12 +1002,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
@@ -935,20 +1019,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_;
@@ -956,6 +1042,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]
@@ -963,13 +1051,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; @@ -978,6 +1066,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -985,15 +1075,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 { @@ -1001,6 +1090,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -1008,20 +1099,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -1029,15 +1122,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -1045,23 +1141,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1071,41 +1167,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; @@ -1117,9 +1215,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 c6971acf985..f7f43479cd2 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,39 +44,45 @@ 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; 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 @@ -67,31 +91,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The 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 { @@ -102,12 +128,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -118,6 +147,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -125,6 +156,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -133,14 +165,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
@@ -148,16 +181,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 { @@ -166,6 +198,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -201,8 +233,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_); @@ -215,19 +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.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; } @@ -251,129 +280,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 +423,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,7 +445,8 @@ 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); + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest result = + new com.google.spanner.admin.database.v1.ListDatabaseRolesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -420,38 +458,39 @@ public com.google.spanner.admin.database.v1.ListDatabaseRolesRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -459,7 +498,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_; onChanged(); @@ -497,27 +538,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -530,20 +575,24 @@ public Builder mergeFrom( 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; @@ -552,22 +601,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 { @@ -575,73 +627,89 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * 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 @@ -649,32 +717,38 @@ 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; 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() { - + pageSize_ = 0; onChanged(); return this; @@ -682,6 +756,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
@@ -689,13 +765,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; @@ -704,6 +780,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
@@ -711,15 +789,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 { @@ -727,6 +804,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
@@ -734,20 +813,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -755,15 +836,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -771,23 +855,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -797,12 +881,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(); } @@ -811,27 +896,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; @@ -846,6 +931,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 66e75ba47b1..ff25375a51a 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,32 +44,35 @@ 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; private java.util.List databaseRoles_; /** + * + * *
    * Database roles that matched the request.
    * 
@@ -63,6 +84,8 @@ public java.util.List getData return databaseRoles_; } /** + * + * *
    * Database roles that matched the request.
    * 
@@ -70,11 +93,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.
    * 
@@ -86,6 +111,8 @@ public int getDatabaseRolesCount() { return databaseRoles_.size(); } /** + * + * *
    * Database roles that matched the request.
    * 
@@ -97,6 +124,8 @@ public com.google.spanner.admin.database.v1.DatabaseRole getDatabaseRoles(int in return databaseRoles_.get(index); } /** + * + * *
    * Database roles that matched the request.
    * 
@@ -112,6 +141,8 @@ public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRol public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -119,6 +150,7 @@ public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRol
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -127,14 +159,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -142,16 +175,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +192,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +204,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < databaseRoles_.size(); i++) { output.writeMessage(1, databaseRoles_.get(i)); } @@ -189,8 +221,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_); @@ -203,17 +234,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -237,129 +267,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(); @@ -376,13 +413,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(); } @@ -397,7 +435,8 @@ 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); int from_bitField0_ = bitField0_; if (databaseRolesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -417,38 +456,39 @@ public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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; @@ -456,7 +496,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()) { @@ -475,9 +517,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_); } @@ -513,30 +556,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(); + 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(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -546,28 +592,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 { @@ -575,6 +631,8 @@ public java.util.List getData } } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -589,6 +647,8 @@ public int getDatabaseRolesCount() { } } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -603,6 +663,8 @@ public com.google.spanner.admin.database.v1.DatabaseRole getDatabaseRoles(int in } } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -624,6 +686,8 @@ public Builder setDatabaseRoles( return this; } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -642,6 +706,8 @@ public Builder setDatabaseRoles( return this; } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -662,6 +728,8 @@ public Builder addDatabaseRoles(com.google.spanner.admin.database.v1.DatabaseRol return this; } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -683,6 +751,8 @@ public Builder addDatabaseRoles( return this; } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -701,6 +771,8 @@ public Builder addDatabaseRoles( return this; } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -719,6 +791,8 @@ public Builder addDatabaseRoles( return this; } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -729,8 +803,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); @@ -738,6 +811,8 @@ public Builder addAllDatabaseRoles( return this; } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -755,6 +830,8 @@ public Builder clearDatabaseRoles() { return this; } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -772,6 +849,8 @@ public Builder removeDatabaseRoles(int index) { return this; } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -783,6 +862,8 @@ public com.google.spanner.admin.database.v1.DatabaseRole.Builder getDatabaseRole return getDatabaseRolesFieldBuilder().getBuilder(index); } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -792,19 +873,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 { @@ -812,6 +896,8 @@ public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRol } } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -819,10 +905,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.
      * 
@@ -831,26 +919,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(), @@ -862,6 +959,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]
@@ -869,13 +968,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; @@ -884,6 +983,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -891,15 +992,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -907,6 +1007,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -914,20 +1016,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -935,15 +1039,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -951,23 +1058,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -977,41 +1084,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; @@ -1023,9 +1132,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 5f333bc84de..edbac6c33ab 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,38 +44,44 @@ 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; 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 @@ -66,30 +90,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The 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 { @@ -100,12 +126,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; 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 @@ -116,6 +145,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; 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
@@ -123,6 +154,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -131,14 +163,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
@@ -146,16 +179,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 { @@ -164,6 +196,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,8 +208,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -199,8 +231,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_); @@ -213,19 +244,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; } @@ -249,129 +278,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 +421,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,7 +442,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); + com.google.spanner.admin.database.v1.ListDatabasesRequest result = + new com.google.spanner.admin.database.v1.ListDatabasesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -418,38 +455,39 @@ public com.google.spanner.admin.database.v1.ListDatabasesRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -457,7 +495,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_; onChanged(); @@ -495,27 +534,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 24: { - pageSize_ = input.readInt32(); - - break; - } // case 24 - case 34: { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 24: + { + pageSize_ = input.readInt32(); + + break; + } // case 24 + case 34: + { + pageToken_ = input.readStringRequireUtf8(); + + 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) { @@ -528,19 +571,23 @@ public Builder mergeFrom( 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; @@ -549,21 +596,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 { @@ -571,70 +621,86 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * 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 @@ -642,32 +708,38 @@ 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; 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() { - + pageSize_ = 0; onChanged(); return this; @@ -675,6 +747,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
@@ -682,13 +756,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; @@ -697,6 +771,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
@@ -704,15 +780,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 { @@ -720,6 +795,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
@@ -727,20 +804,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -748,15 +827,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -764,23 +846,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -790,12 +872,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(); } @@ -804,27 +886,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; @@ -839,6 +921,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 5f9b60bfa5b..135567d49fb 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,32 +44,35 @@ 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; private java.util.List databases_; /** + * + * *
    * Databases that matched the request.
    * 
@@ -63,6 +84,8 @@ public java.util.List getDatabase return databases_; } /** + * + * *
    * Databases that matched the request.
    * 
@@ -70,11 +93,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.
    * 
@@ -86,6 +111,8 @@ public int getDatabasesCount() { return databases_.size(); } /** + * + * *
    * Databases that matched the request.
    * 
@@ -97,6 +124,8 @@ public com.google.spanner.admin.database.v1.Database getDatabases(int index) { return databases_.get(index); } /** + * + * *
    * Databases that matched the request.
    * 
@@ -104,14 +133,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; 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
@@ -119,6 +149,7 @@ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuil
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -127,14 +158,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -142,16 +174,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +191,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +203,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < databases_.size(); i++) { output.writeMessage(1, databases_.get(i)); } @@ -189,8 +220,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_); @@ -203,17 +233,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -237,129 +266,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(); @@ -376,9 +412,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 @@ -397,7 +433,8 @@ 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); int from_bitField0_ = bitField0_; if (databasesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -417,38 +454,39 @@ public com.google.spanner.admin.database.v1.ListDatabasesResponse buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -456,7 +494,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()) { @@ -475,9 +514,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_); } @@ -513,30 +553,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(); + 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(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -546,21 +588,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.
      * 
@@ -575,6 +625,8 @@ public java.util.List getDatabase } } /** + * + * *
      * Databases that matched the request.
      * 
@@ -589,6 +641,8 @@ public int getDatabasesCount() { } } /** + * + * *
      * Databases that matched the request.
      * 
@@ -603,14 +657,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(); @@ -624,6 +679,8 @@ public Builder setDatabases( return this; } /** + * + * *
      * Databases that matched the request.
      * 
@@ -642,6 +699,8 @@ public Builder setDatabases( return this; } /** + * + * *
      * Databases that matched the request.
      * 
@@ -662,14 +721,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(); @@ -683,6 +743,8 @@ public Builder addDatabases( return this; } /** + * + * *
      * Databases that matched the request.
      * 
@@ -701,6 +763,8 @@ public Builder addDatabases( return this; } /** + * + * *
      * Databases that matched the request.
      * 
@@ -719,6 +783,8 @@ public Builder addDatabases( return this; } /** + * + * *
      * Databases that matched the request.
      * 
@@ -729,8 +795,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); @@ -738,6 +803,8 @@ public Builder addAllDatabases( return this; } /** + * + * *
      * Databases that matched the request.
      * 
@@ -755,6 +822,8 @@ public Builder clearDatabases() { return this; } /** + * + * *
      * Databases that matched the request.
      * 
@@ -772,39 +841,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 { @@ -812,6 +886,8 @@ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuil } } /** + * + * *
      * Databases that matched the request.
      * 
@@ -819,42 +895,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_; @@ -862,6 +944,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
@@ -869,13 +953,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; @@ -884,6 +968,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
@@ -891,15 +977,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -907,6 +992,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
@@ -914,20 +1001,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -935,15 +1024,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -951,23 +1043,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -977,12 +1069,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(); } @@ -991,27 +1083,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; @@ -1026,6 +1118,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 71% 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 c1f8abf977b..fb1a1f4f66d 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_;
   /**
+   *
+   *
    * 
    * 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();
@@ -386,9 +425,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
@@ -407,7 +446,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);
+      com.google.spanner.admin.database.v1.OperationProgress result =
+          new com.google.spanner.admin.database.v1.OperationProgress(this);
       result.progressPercent_ = progressPercent_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -427,38 +467,39 @@ public com.google.spanner.admin.database.v1.OperationProgress buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -466,7 +507,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());
       }
@@ -502,31 +544,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              progressPercent_ = input.readInt32();
+            case 8:
+              {
+                progressPercent_ = input.readInt32();
 
-              break;
-            } // case 8
-            case 18: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 8
+            case 18:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -537,14 +579,17 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int progressPercent_ ;
+    private int progressPercent_;
     /**
+     *
+     *
      * 
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; + * * @return The progressPercent. */ @java.lang.Override @@ -552,32 +597,38 @@ public int getProgressPercent() { return progressPercent_; } /** + * + * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; + * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; onChanged(); return this; } /** + * + * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; + * * @return This builder for chaining. */ public Builder clearProgressPercent() { - + progressPercent_ = 0; onChanged(); return this; @@ -585,24 +636,33 @@ public Builder clearProgressPercent() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -613,6 +673,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Time the request was received.
      * 
@@ -633,14 +695,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -651,6 +714,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Time the request was received.
      * 
@@ -661,7 +726,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -673,6 +738,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the request was received.
      * 
@@ -691,6 +758,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Time the request was received.
      * 
@@ -698,11 +767,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 2; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the request was received.
      * 
@@ -713,11 +784,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * Time the request was received.
      * 
@@ -725,14 +797,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -740,26 +815,35 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * If set, the time at which this operation failed or was completed
      * successfully.
      * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * If set, the time at which this operation failed or was completed
      * successfully.
      * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -770,6 +854,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -791,6 +877,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -798,8 +886,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 3;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -810,6 +897,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -821,7 +910,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -833,6 +922,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -852,6 +943,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -860,11 +953,13 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-      
+
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -876,11 +971,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -889,21 +985,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -913,12 +1012,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();
   }
@@ -927,27 +1026,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;
@@ -962,6 +1061,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 66%
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 cd2b945cc39..a997ac274ad 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,52 +30,58 @@
  *
  * 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;
   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 @@ -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; } } /** + * + * *
    * 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 { @@ -100,11 +123,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 @@ -112,18 +138,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.
    * 
@@ -136,6 +169,7 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -168,8 +201,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (progress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getProgress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgress()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -179,19 +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.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; @@ -216,96 +247,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
@@ -315,33 +355,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 +397,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,7 +420,8 @@ 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);
+      com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata result =
+          new com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata(this);
       result.name_ = name_;
       if (progressBuilder_ == null) {
         result.progress_ = progress_;
@@ -393,46 +436,51 @@ public com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata bui
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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_;
         onChanged();
@@ -466,24 +514,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getProgressFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -496,18 +545,20 @@ public Builder mergeFrom(
 
     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; @@ -516,20 +567,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 { @@ -537,54 +589,61 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Name of the restored database being optimized.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -592,34 +651,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 progressBuilder_ != null || progress_ != null; } /** + * + * *
      * 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.
      * 
@@ -640,6 +712,8 @@ public Builder setProgress(com.google.spanner.admin.database.v1.OperationProgres return this; } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -658,6 +732,8 @@ public Builder setProgress( return this; } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -668,7 +744,9 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr if (progressBuilder_ == null) { if (progress_ != null) { progress_ = - com.google.spanner.admin.database.v1.OperationProgress.newBuilder(progress_).mergeFrom(value).buildPartial(); + com.google.spanner.admin.database.v1.OperationProgress.newBuilder(progress_) + .mergeFrom(value) + .buildPartial(); } else { progress_ = value; } @@ -680,6 +758,8 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr return this; } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -698,6 +778,8 @@ public Builder clearProgress() { return this; } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -705,11 +787,13 @@ public Builder clearProgress() { * .google.spanner.admin.database.v1.OperationProgress progress = 2; */ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgressBuilder() { - + onChanged(); return getProgressFieldBuilder().getBuilder(); } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -720,11 +804,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.
      * 
@@ -732,21 +819,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); } @@ -756,41 +846,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; @@ -802,9 +894,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 62c49424b5a..037e253259c 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,53 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int 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 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() { + @java.lang.Override + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType + getEncryptionType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.valueOf(encryptionType_); - return result == null ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.UNRECOGNIZED : result; + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType result = + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.valueOf( + encryptionType_); + return result == null + ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType + .UNRECOGNIZED + : result; } public static final int KMS_KEY_NAME_FIELD_NUMBER = 2; 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 +313,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 +325,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 +342,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 +362,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -308,9 +374,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 +393,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 +410,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 +441,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(); @@ -505,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 @@ -526,7 +607,8 @@ 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); + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig result = + new com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig(this); result.encryptionType_ = encryptionType_; result.kmsKeyName_ = kmsKeyName_; onBuilt(); @@ -537,46 +619,51 @@ public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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()); } @@ -610,22 +697,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - encryptionType_ = input.readEnum(); + case 8: + { + encryptionType_ = input.readEnum(); - break; - } // case 8 - case 18: { - kmsKeyName_ = input.readStringRequireUtf8(); + break; + } // case 8 + case 18: + { + kmsKeyName_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -638,73 +728,106 @@ public Builder mergeFrom( 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. */ public Builder setEncryptionTypeValue(int value) { - + encryptionType_ = value; onChanged(); 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() { + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType + getEncryptionType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.valueOf(encryptionType_); - return result == null ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.UNRECOGNIZED : result; + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType result = + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType + .valueOf(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(); } - + encryptionType_ = value.getNumber(); onChanged(); 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() { - + encryptionType_ = 0; onChanged(); return this; @@ -712,6 +835,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
@@ -720,14 +845,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; @@ -736,6 +863,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
@@ -744,16 +873,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 { @@ -761,6 +891,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
@@ -769,21 +901,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) { + public Builder setKmsKeyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; 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
@@ -792,16 +928,21 @@ 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() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); 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
@@ -810,24 +951,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) { + public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -837,41 +980,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; @@ -883,9 +1028,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 78% 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 9f82553cf60..b199df58bf1 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,30 +96,35 @@ public static SourceInfoCase valueOf(int value) {
 
     public static SourceInfoCase forNumber(int value) {
       switch (value) {
-        case 3: return BACKUP_INFO;
-        case 0: return SOURCEINFO_NOT_SET;
-        default: return null;
+        case 3:
+          return BACKUP_INFO;
+        case 0:
+          return SOURCEINFO_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceInfoCase
-  getSourceInfoCase() {
-    return SourceInfoCase.forNumber(
-        sourceInfoCase_);
+  public SourceInfoCase getSourceInfoCase() {
+    return SourceInfoCase.forNumber(sourceInfoCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Name of the database being created and restored to.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The name. */ @java.lang.Override @@ -106,29 +133,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Name of the 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 { @@ -139,37 +166,51 @@ public java.lang.String getName() { public static final int SOURCE_TYPE_FIELD_NUMBER = 2; private int sourceType_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.RestoreSourceType result = com.google.spanner.admin.database.v1.RestoreSourceType.valueOf(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.valueOf(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 +218,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 +247,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 +255,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 +264,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 +272,8 @@ public boolean hasProgress() { return progress_ != null; } /** + * + * *
    * The progress of the
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -230,13 +281,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]
@@ -253,6 +309,8 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
   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 +326,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 +334,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 +351,7 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 5; + * * @return The cancelTime. */ @java.lang.Override @@ -297,6 +359,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]
@@ -321,6 +385,8 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   public static final int OPTIMIZE_DATABASE_OPERATION_NAME_FIELD_NUMBER = 6;
   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
@@ -336,6 +402,7 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
    * 
* * string optimize_database_operation_name = 6; + * * @return The optimizeDatabaseOperationName. */ @java.lang.Override @@ -344,14 +411,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
@@ -367,16 +435,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 { @@ -385,6 +452,7 @@ public java.lang.String getOptimizeDatabaseOperationName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -396,12 +464,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) { @@ -428,24 +496,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; @@ -455,33 +524,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: @@ -525,96 +591,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].
@@ -622,33 +696,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();
@@ -679,13 +752,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();
     }
 
@@ -700,7 +774,8 @@ 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);
+      com.google.spanner.admin.database.v1.RestoreDatabaseMetadata result =
+          new com.google.spanner.admin.database.v1.RestoreDatabaseMetadata(this);
       result.name_ = name_;
       result.sourceType_ = sourceType_;
       if (sourceInfoCase_ == 3) {
@@ -730,38 +805,39 @@ public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata buildPartial
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -769,7 +845,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_;
         onChanged();
@@ -788,13 +866,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();
@@ -822,48 +902,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              sourceType_ = input.readEnum();
-
-              break;
-            } // case 16
-            case 26: {
-              input.readMessage(
-                  getBackupInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              sourceInfoCase_ = 3;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getProgressFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getCancelTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            case 50: {
-              optimizeDatabaseOperationName_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                sourceType_ = input.readEnum();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                input.readMessage(getBackupInfoFieldBuilder().getBuilder(), extensionRegistry);
+                sourceInfoCase_ = 3;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            case 50:
+              {
+                optimizeDatabaseOperationName_ = input.readStringRequireUtf8();
+
+                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) {
@@ -873,12 +954,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() {
@@ -888,21 +969,22 @@ public Builder clearSourceInfo() {
       return this;
     }
 
-
     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; @@ -911,20 +993,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 { @@ -932,54 +1015,61 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -987,51 +1077,67 @@ 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. */ public Builder setSourceTypeValue(int value) { - + sourceType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.RestoreSourceType result = com.google.spanner.admin.database.v1.RestoreSourceType.valueOf(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.valueOf(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. */ @@ -1039,34 +1145,43 @@ public Builder setSourceType(com.google.spanner.admin.database.v1.RestoreSourceT if (value == null) { throw new NullPointerException(); } - + sourceType_ = value.getNumber(); onChanged(); 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() { - + sourceType_ = 0; onChanged(); return this; } 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 @@ -1074,11 +1189,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 @@ -1096,6 +1214,8 @@ public com.google.spanner.admin.database.v1.BackupInfo getBackupInfo() { } } /** + * + * *
      * Information about the backup used to restore the database.
      * 
@@ -1116,6 +1236,8 @@ public Builder setBackupInfo(com.google.spanner.admin.database.v1.BackupInfo val return this; } /** + * + * *
      * Information about the backup used to restore the database.
      * 
@@ -1134,6 +1256,8 @@ public Builder setBackupInfo( return this; } /** + * + * *
      * Information about the backup used to restore the database.
      * 
@@ -1142,10 +1266,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; } @@ -1161,6 +1289,8 @@ public Builder mergeBackupInfo(com.google.spanner.admin.database.v1.BackupInfo v return this; } /** + * + * *
      * Information about the backup used to restore the database.
      * 
@@ -1184,6 +1314,8 @@ public Builder clearBackupInfo() { return this; } /** + * + * *
      * Information about the backup used to restore the database.
      * 
@@ -1194,6 +1326,8 @@ public com.google.spanner.admin.database.v1.BackupInfo.Builder getBackupInfoBuil return getBackupInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Information about the backup used to restore the database.
      * 
@@ -1212,6 +1346,8 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB } } /** + * + * *
      * Information about the backup used to restore the database.
      * 
@@ -1219,28 +1355,39 @@ 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()); sourceInfo_ = null; } sourceInfoCase_ = 3; - onChanged();; + onChanged(); + ; return backupInfoBuilder_; } 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]
@@ -1248,12 +1395,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 progressBuilder_ != null || progress_ != null; } /** + * + * *
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1261,16 +1411,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]
@@ -1293,6 +1448,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]
@@ -1313,6 +1470,8 @@ public Builder setProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1325,7 +1484,9 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr
       if (progressBuilder_ == null) {
         if (progress_ != null) {
           progress_ =
-            com.google.spanner.admin.database.v1.OperationProgress.newBuilder(progress_).mergeFrom(value).buildPartial();
+              com.google.spanner.admin.database.v1.OperationProgress.newBuilder(progress_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           progress_ = value;
         }
@@ -1337,6 +1498,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]
@@ -1357,6 +1520,8 @@ public Builder clearProgress() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1366,11 +1531,13 @@ public Builder clearProgress() {
      * .google.spanner.admin.database.v1.OperationProgress progress = 4;
      */
     public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgressBuilder() {
-      
+
       onChanged();
       return getProgressFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1383,11 +1550,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]
@@ -1397,14 +1567,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_;
@@ -1412,8 +1585,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]
@@ -1429,12 +1607,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 cancelTimeBuilder_ != null || cancelTime_ != null; } /** + * + * *
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1450,16 +1631,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]
@@ -1490,6 +1676,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]
@@ -1506,8 +1694,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();
         onChanged();
@@ -1518,6 +1705,8 @@ public Builder setCancelTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1538,7 +1727,7 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
         if (cancelTime_ != null) {
           cancelTime_ =
-            com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
         } else {
           cancelTime_ = value;
         }
@@ -1550,6 +1739,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]
@@ -1578,6 +1769,8 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1595,11 +1788,13 @@ public Builder clearCancelTime() {
      * .google.protobuf.Timestamp cancel_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
-      
+
       onChanged();
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1620,11 +1815,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]
@@ -1642,14 +1840,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_;
@@ -1657,6 +1858,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
@@ -1672,13 +1875,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; @@ -1687,6 +1890,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
@@ -1702,15 +1907,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 { @@ -1718,6 +1922,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
@@ -1733,20 +1939,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) { + public Builder setOptimizeDatabaseOperationName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + optimizeDatabaseOperationName_ = value; onChanged(); return this; } /** + * + * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1762,15 +1970,18 @@ public Builder setOptimizeDatabaseOperationName(
      * 
* * string optimize_database_operation_name = 6; + * * @return This builder for chaining. */ public Builder clearOptimizeDatabaseOperationName() { - + optimizeDatabaseOperationName_ = getDefaultInstance().getOptimizeDatabaseOperationName(); 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
@@ -1786,23 +1997,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) { + public Builder setOptimizeDatabaseOperationNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + optimizeDatabaseOperationName_ = 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); } @@ -1812,12 +2023,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(); } @@ -1826,27 +2038,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; @@ -1861,6 +2073,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 aab6f9cfc30..da40905edfb 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,25 +95,29 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 3: return BACKUP;
-        case 0: return SOURCE_NOT_SET;
-        default: return null;
+        case 3:
+          return BACKUP;
+        case 0:
+          return SOURCE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceCase
-  getSourceCase() {
-    return SourceCase.forNumber(
-        sourceCase_);
+  public SourceCase getSourceCase() {
+    return SourceCase.forNumber(sourceCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The name of the instance in which to create the
    * restored database. This instance must be in the same project and
@@ -100,7 +126,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 @@ -109,14 +138,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
@@ -125,17 +155,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 { @@ -146,6 +177,8 @@ public java.lang.String getParent() { public static final int DATABASE_ID_FIELD_NUMBER = 2; 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
@@ -154,6 +187,7 @@ public java.lang.String getParent() {
    * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The databaseId. */ @java.lang.Override @@ -162,14 +196,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
@@ -178,16 +213,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 { @@ -197,24 +231,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() { @@ -225,8 +265,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; @@ -235,24 +274,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; } @@ -265,6 +305,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.
@@ -274,7 +316,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 @@ -282,6 +327,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.
@@ -291,14 +338,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.
@@ -308,14 +363,18 @@ 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() { + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { return getEncryptionConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -327,8 +386,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -360,8 +418,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; @@ -371,27 +428,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: @@ -429,96 +483,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].
@@ -526,33 +588,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 +633,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,7 +654,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);
+      com.google.spanner.admin.database.v1.RestoreDatabaseRequest result =
+          new com.google.spanner.admin.database.v1.RestoreDatabaseRequest(this);
       result.parent_ = parent_;
       result.databaseId_ = databaseId_;
       if (sourceCase_ == 3) {
@@ -613,38 +675,39 @@ public com.google.spanner.admin.database.v1.RestoreDatabaseRequest buildPartial(
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -652,7 +715,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_;
         onChanged();
@@ -665,15 +729,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();
@@ -701,35 +767,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              databaseId_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                databaseId_ = input.readStringRequireUtf8();
 
-              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);
+                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);
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -739,12 +809,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() {
@@ -754,9 +824,10 @@ public Builder clearSource() {
       return this;
     }
 
-
     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
@@ -765,14 +836,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; @@ -781,6 +854,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
@@ -789,16 +864,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 { @@ -806,6 +882,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
@@ -814,21 +892,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the instance in which to create the
      * restored database. This instance must be in the same project and
@@ -837,16 +919,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); 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
@@ -855,17 +942,19 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -873,6 +962,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
@@ -881,13 +972,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; @@ -896,6 +987,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
@@ -904,15 +997,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 { @@ -920,6 +1012,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
@@ -928,20 +1022,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) { + public Builder setDatabaseId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + databaseId_ = value; 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
@@ -950,15 +1046,18 @@ public Builder setDatabaseId(
      * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDatabaseId() { - + databaseId_ = getDefaultInstance().getDatabaseId(); 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
@@ -967,28 +1066,31 @@ 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) { + public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + databaseId_ = 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 Whether the backup field is set. */ @java.lang.Override @@ -996,12 +1098,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 @@ -1011,8 +1116,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; @@ -1023,25 +1127,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; } @@ -1051,32 +1156,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) { + public Builder setBackup(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - sourceCase_ = 3; + throw new NullPointerException(); + } + sourceCase_ = 3; source_ = value; onChanged(); return this; } /** + * + * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearBackup() { @@ -1088,21 +1198,23 @@ 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) { + public Builder setBackupBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); sourceCase_ = 3; source_ = value; onChanged(); @@ -1111,8 +1223,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.
@@ -1122,13 +1239,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 encryptionConfigBuilder_ != null || 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.
@@ -1138,17 +1260,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.
@@ -1158,9 +1289,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(); @@ -1174,6 +1308,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.
@@ -1183,10 +1319,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(); onChanged(); @@ -1197,6 +1336,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.
@@ -1206,13 +1347,19 @@ 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 (encryptionConfig_ != null) { encryptionConfig_ = - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.newBuilder(encryptionConfig_).mergeFrom(value).buildPartial(); + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.newBuilder( + encryptionConfig_) + .mergeFrom(value) + .buildPartial(); } else { encryptionConfig_ = value; } @@ -1224,6 +1371,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.
@@ -1233,7 +1382,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() { if (encryptionConfigBuilder_ == null) { @@ -1247,6 +1398,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.
@@ -1256,14 +1409,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() { + 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.
@@ -1273,17 +1431,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.
@@ -1293,24 +1458,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); } @@ -1320,12 +1490,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(); } @@ -1334,27 +1504,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; @@ -1369,6 +1539,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 ec154d0ef96..045c1766b9b 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,57 +93,73 @@ public static SourceInfoCase valueOf(int value) { public static SourceInfoCase forNumber(int value) { switch (value) { - case 2: return BACKUP_INFO; - case 0: return SOURCEINFO_NOT_SET; - default: return null; + case 2: + return BACKUP_INFO; + case 0: + return SOURCEINFO_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SourceInfoCase - getSourceInfoCase() { - return SourceInfoCase.forNumber( - sourceInfoCase_); + public SourceInfoCase getSourceInfoCase() { + return SourceInfoCase.forNumber(sourceInfoCase_); } public static final int SOURCE_TYPE_FIELD_NUMBER = 1; private int sourceType_; /** + * + * *
    * The type of the restore source.
    * 
* * .google.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() { + @java.lang.Override + public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.RestoreSourceType result = com.google.spanner.admin.database.v1.RestoreSourceType.valueOf(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.valueOf(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 @@ -129,22 +167,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.
@@ -155,12 +198,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;
@@ -172,9 +216,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) {
@@ -189,13 +233,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;
@@ -205,19 +250,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:
@@ -248,130 +293,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(); @@ -386,9 +437,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 @@ -407,7 +458,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); + com.google.spanner.admin.database.v1.RestoreInfo result = + new com.google.spanner.admin.database.v1.RestoreInfo(this); result.sourceType_ = sourceType_; if (sourceInfoCase_ == 2) { if (backupInfoBuilder_ == null) { @@ -425,38 +477,39 @@ public com.google.spanner.admin.database.v1.RestoreInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -464,18 +517,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(); @@ -503,24 +559,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - sourceType_ = input.readEnum(); - - break; - } // case 8 - case 18: { - input.readMessage( - getBackupInfoFieldBuilder().getBuilder(), - extensionRegistry); - sourceInfoCase_ = 2; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + sourceType_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + input.readMessage(getBackupInfoFieldBuilder().getBuilder(), extensionRegistry); + sourceInfoCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -530,12 +587,12 @@ public Builder mergeFrom( } // finally return this; } + private int sourceInfoCase_ = 0; private java.lang.Object sourceInfo_; - public SourceInfoCase - getSourceInfoCase() { - return SourceInfoCase.forNumber( - sourceInfoCase_); + + public SourceInfoCase getSourceInfoCase() { + return SourceInfoCase.forNumber(sourceInfoCase_); } public Builder clearSourceInfo() { @@ -545,54 +602,69 @@ public Builder clearSourceInfo() { return this; } - 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. */ public Builder setSourceTypeValue(int value) { - + sourceType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.database.v1.RestoreSourceType result = com.google.spanner.admin.database.v1.RestoreSourceType.valueOf(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.valueOf(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. */ @@ -600,35 +672,44 @@ public Builder setSourceType(com.google.spanner.admin.database.v1.RestoreSourceT if (value == null) { throw new NullPointerException(); } - + sourceType_ = value.getNumber(); onChanged(); 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() { - + sourceType_ = 0; onChanged(); return this; } 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 @@ -636,12 +717,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 @@ -659,6 +743,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.
@@ -680,6 +766,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.
@@ -699,6 +787,8 @@ public Builder setBackupInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -708,10 +798,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;
         }
@@ -727,6 +821,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.
@@ -751,6 +847,8 @@ public Builder clearBackupInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -762,6 +860,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.
@@ -781,6 +881,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.
@@ -789,26 +891,32 @@ 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());
         sourceInfo_ = null;
       }
       sourceInfoCase_ = 2;
-      onChanged();;
+      onChanged();
+      ;
       return backupInfoBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -818,12 +926,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();
   }
@@ -832,27 +940,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;
@@ -867,6 +975,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..9a4c1888ef2 --- /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\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/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 9e41bc0985d..83cc3c15297 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,7 +119,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]; + * */ @java.lang.Override public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() { @@ -97,6 +131,8 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -105,7 +141,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 +151,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 +161,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 +171,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 +181,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 +190,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (backup_ != null) { output.writeMessage(1, getBackup()); } @@ -174,12 +219,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 +232,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 +273,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(); @@ -373,9 +422,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 @@ -394,7 +443,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); + com.google.spanner.admin.database.v1.UpdateBackupRequest result = + new com.google.spanner.admin.database.v1.UpdateBackupRequest(this); if (backupBuilder_ == null) { result.backup_ = backup_; } else { @@ -413,38 +463,39 @@ public com.google.spanner.admin.database.v1.UpdateBackupRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -452,7 +503,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()); } @@ -485,26 +537,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getBackupFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -517,8 +568,13 @@ public Builder mergeFrom( 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.
@@ -526,13 +582,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 backupBuilder_ != null || backup_ != null; } /** + * + * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -540,17 +601,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.
@@ -558,7 +626,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) { @@ -574,6 +644,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.
@@ -581,10 +653,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(); onChanged(); @@ -595,6 +668,8 @@ public Builder setBackup( return this; } /** + * + * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -602,13 +677,17 @@ 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 (backup_ != null) { backup_ = - com.google.spanner.admin.database.v1.Backup.newBuilder(backup_).mergeFrom(value).buildPartial(); + com.google.spanner.admin.database.v1.Backup.newBuilder(backup_) + .mergeFrom(value) + .buildPartial(); } else { backup_ = value; } @@ -620,6 +699,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.
@@ -627,7 +708,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() { if (backupBuilder_ == null) { @@ -641,6 +724,8 @@ public Builder clearBackup() { return this; } /** + * + * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -648,14 +733,18 @@ 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() { - + onChanged(); return getBackupFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -663,17 +752,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.
@@ -681,17 +775,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_; @@ -699,8 +798,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
@@ -709,13 +813,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -724,17 +832,23 @@ public boolean hasUpdateMask() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -743,7 +857,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -759,6 +874,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -767,10 +884,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -781,6 +898,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -789,13 +908,14 @@ public Builder setUpdateMask(
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -807,6 +927,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -815,7 +937,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -829,6 +952,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -837,14 +962,17 @@ public Builder clearUpdateMask() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -853,17 +981,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -872,24 +1004,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -899,12 +1035,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(); } @@ -913,27 +1049,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; @@ -948,6 +1084,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 80% 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 1e216b0bdc6..32f50cbf09e 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,37 +47,41 @@ 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;
   private volatile java.lang.Object database_;
   /**
+   *
+   *
    * 
    * The database being modified.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @return The database. */ @java.lang.Override @@ -68,29 +90,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 { @@ -101,37 +123,45 @@ public java.lang.String getDatabase() { public static final int STATEMENTS_FIELD_NUMBER = 2; 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. */ @@ -139,23 +169,27 @@ 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; private java.util.List commitTimestamps_; /** + * + * *
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -169,6 +203,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
@@ -178,11 +214,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
@@ -196,6 +234,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
@@ -209,6 +249,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
@@ -218,14 +260,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_;
   /**
+   *
+   *
    * 
    * Output only. When true, indicates that the operation is throttled e.g
    * due to resource constraints. When resources become available the operation
@@ -233,6 +276,7 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
    * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The throttled. */ @java.lang.Override @@ -243,6 +287,8 @@ public boolean getThrottled() { public static final int PROGRESS_FIELD_NUMBER = 5; private java.util.List progress_; /** + * + * *
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -261,6 +307,8 @@ public java.util.List ge
     return progress_;
   }
   /**
+   *
+   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -275,11 +323,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.
@@ -298,6 +348,8 @@ public int getProgressCount() {
     return progress_.size();
   }
   /**
+   *
+   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -316,6 +368,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.
@@ -336,6 +390,7 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -347,8 +402,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -385,16 +439,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;
@@ -404,23 +455,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;
   }
@@ -443,8 +490,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();
@@ -455,96 +501,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].
@@ -552,33 +606,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();
@@ -606,13 +659,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();
     }
 
@@ -627,7 +681,8 @@ 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);
       int from_bitField0_ = bitField0_;
       result.database_ = database_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -662,38 +717,39 @@ public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata buildParti
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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;
@@ -701,7 +757,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_;
         onChanged();
@@ -734,9 +792,10 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlM
             commitTimestampsBuilder_ = null;
             commitTimestamps_ = other.commitTimestamps_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            commitTimestampsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getCommitTimestampsFieldBuilder() : null;
+            commitTimestampsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getCommitTimestampsFieldBuilder()
+                    : null;
           } else {
             commitTimestampsBuilder_.addAllMessages(other.commitTimestamps_);
           }
@@ -763,9 +822,10 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlM
             progressBuilder_ = null;
             progress_ = other.progress_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            progressBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getProgressFieldBuilder() : null;
+            progressBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getProgressFieldBuilder()
+                    : null;
           } else {
             progressBuilder_.addAllMessages(other.progress_);
           }
@@ -797,54 +857,58 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              database_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                database_ = input.readStringRequireUtf8();
 
-              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();
+                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();
 
-              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:
+                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) {
@@ -854,22 +918,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; @@ -878,20 +945,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 { @@ -899,98 +967,115 @@ 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) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; onChanged(); return this; } /** + * + * *
      * The database being modified.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearDatabase() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); 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) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); 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_ & 0x00000001) != 0)) { statements_ = new com.google.protobuf.LazyStringArrayList(statements_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * 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. */ @@ -998,85 +1083,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) { + public Builder setStatements(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStatementsIsMutable(); + 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) { + public Builder addStatements(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStatementsIsMutable(); + 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() { @@ -1086,21 +1181,23 @@ 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) { + public Builder addStatementsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureStatementsIsMutable(); statements_.add(value); onChanged(); @@ -1108,18 +1205,25 @@ public Builder addStatementsBytes( } private java.util.List commitTimestamps_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCommitTimestampsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - commitTimestamps_ = new java.util.ArrayList(commitTimestamps_); + commitTimestamps_ = + new java.util.ArrayList(commitTimestamps_); bitField0_ |= 0x00000002; - } + } } 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
@@ -1136,6 +1240,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
@@ -1152,6 +1258,8 @@ public int getCommitTimestampsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1168,6 +1276,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
@@ -1176,8 +1286,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();
@@ -1191,6 +1300,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
@@ -1211,6 +1322,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
@@ -1233,6 +1346,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
@@ -1241,8 +1356,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();
@@ -1256,6 +1370,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
@@ -1264,8 +1380,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());
@@ -1276,6 +1391,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
@@ -1296,6 +1413,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
@@ -1308,8 +1427,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);
@@ -1317,6 +1435,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
@@ -1336,6 +1456,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
@@ -1355,6 +1477,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
@@ -1363,11 +1487,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
@@ -1376,14 +1501,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
@@ -1392,8 +1519,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 {
@@ -1401,6 +1528,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
@@ -1410,10 +1539,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
@@ -1422,12 +1553,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
@@ -1436,16 +1568,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_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -1455,8 +1592,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
@@ -1464,6 +1603,7 @@ public com.google.protobuf.Timestamp.Builder addCommitTimestampsBuilder(
      * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The throttled. */ @java.lang.Override @@ -1471,6 +1611,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
@@ -1478,16 +1620,19 @@ 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; 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
@@ -1495,28 +1640,37 @@ public Builder setThrottled(boolean value) {
      * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearThrottled() { - + throttled_ = false; onChanged(); return this; } private java.util.List progress_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureProgressIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - progress_ = new java.util.ArrayList(progress_); + progress_ = + new java.util.ArrayList( + progress_); bitField0_ |= 0x00000004; - } + } } 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.
@@ -1530,7 +1684,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 {
@@ -1538,6 +1693,8 @@ public java.util.List ge
       }
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1559,6 +1716,8 @@ public int getProgressCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1580,6 +1739,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.
@@ -1608,6 +1769,8 @@ public Builder setProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1633,6 +1796,8 @@ public Builder setProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1660,6 +1825,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.
@@ -1688,6 +1855,8 @@ public Builder addProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1713,6 +1882,8 @@ public Builder addProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1738,6 +1909,8 @@ public Builder addProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1752,11 +1925,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);
@@ -1764,6 +1937,8 @@ public Builder addAllProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1788,6 +1963,8 @@ public Builder clearProgress() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1812,6 +1989,8 @@ public Builder removeProgress(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1830,6 +2009,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.
@@ -1846,11 +2027,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.
@@ -1864,8 +2048,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 {
@@ -1873,6 +2057,8 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
       }
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1887,10 +2073,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.
@@ -1906,10 +2094,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.
@@ -1923,27 +2114,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_ & 0x00000004) != 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_ & 0x00000004) != 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);
     }
 
@@ -1953,41 +2147,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;
@@ -1999,9 +2195,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 75%
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 af55b7be639..3911178f357 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,37 +59,43 @@ 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;
   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 @@ -80,29 +104,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 { @@ -113,34 +139,42 @@ public java.lang.String getDatabase() { public static final int STATEMENTS_FIELD_NUMBER = 2; 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. */ @@ -148,22 +182,26 @@ 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; private volatile java.lang.Object operationId_; /** + * + * *
    * If empty, the new update request is assigned an
    * automatically-generated operation ID. Otherwise, `operation_id`
@@ -185,6 +223,7 @@ public java.lang.String getStatements(int index) {
    * 
* * string operation_id = 3; + * * @return The operationId. */ @java.lang.Override @@ -193,14 +232,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`
@@ -222,16 +262,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 { @@ -240,6 +279,7 @@ public java.lang.String getOperationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,8 +291,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -293,19 +332,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; } @@ -331,96 +368,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
@@ -441,33 +486,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();
@@ -481,13 +525,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();
     }
 
@@ -502,7 +547,8 @@ 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);
       int from_bitField0_ = bitField0_;
       result.database_ = database_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -519,38 +565,39 @@ public com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest buildPartia
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -558,7 +605,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_;
         onChanged();
@@ -603,28 +652,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              database_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                database_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureStatementsIsMutable();
-              statements_.add(s);
-              break;
-            } // case 18
-            case 26: {
-              operationId_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureStatementsIsMutable();
+                statements_.add(s);
+                break;
+              } // case 18
+            case 26:
+              {
+                operationId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -634,22 +687,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; @@ -658,20 +716,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 { @@ -679,95 +740,118 @@ 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) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); 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) = { ... } + * + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); 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_ & 0x00000001) != 0)) { statements_ = new com.google.protobuf.LazyStringArrayList(statements_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * 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. */ @@ -775,80 +859,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) { + public Builder setStatements(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStatementsIsMutable(); + 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) { + public Builder addStatements(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStatementsIsMutable(); + 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() { @@ -858,20 +952,22 @@ 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) { + public Builder addStatementsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureStatementsIsMutable(); statements_.add(value); onChanged(); @@ -880,6 +976,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`
@@ -901,13 +999,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; @@ -916,6 +1014,8 @@ public java.lang.String getOperationId() { } } /** + * + * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -937,15 +1037,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 { @@ -953,6 +1052,8 @@ public java.lang.String getOperationId() { } } /** + * + * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -974,20 +1075,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) { + public Builder setOperationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + operationId_ = value; onChanged(); return this; } /** + * + * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -1009,15 +1112,18 @@ public Builder setOperationId(
      * 
* * string operation_id = 3; + * * @return This builder for chaining. */ public Builder clearOperationId() { - + operationId_ = getDefaultInstance().getOperationId(); onChanged(); return this; } /** + * + * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -1039,23 +1145,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) { + public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + operationId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1065,12 +1171,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(); } @@ -1079,27 +1186,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; @@ -1114,6 +1221,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..913672c72b9 --- /dev/null +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java @@ -0,0 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/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 70% 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 a4c7578d945..7237d96b6fa 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.
    * 
@@ -89,6 +117,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC 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 +126,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 +134,8 @@ public boolean hasProgress() { return progress_ != null; } /** + * + * *
    * The progress of the
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -110,13 +143,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]
@@ -133,11 +171,14 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
   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 +186,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 +201,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 +215,7 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,8 +227,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (instanceConfig_ != null) { output.writeMessage(1, getInstanceConfig()); } @@ -201,16 +247,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 +263,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 +312,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 +418,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();
@@ -420,13 +470,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();
     }
 
@@ -441,7 +492,8 @@ 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);
+      com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata result =
+          new com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata(this);
       if (instanceConfigBuilder_ == null) {
         result.instanceConfig_ = instanceConfig_;
       } else {
@@ -465,46 +517,50 @@ public com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata buildPa
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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());
       }
@@ -540,33 +596,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getInstanceConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getProgressFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getCancelTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -579,34 +633,47 @@ public Builder mergeFrom(
 
     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 instanceConfigBuilder_ != null || instanceConfig_ != null; } /** + * + * *
      * 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.
      * 
@@ -627,6 +694,8 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo return this; } /** + * + * *
      * The target instance config end state.
      * 
@@ -645,6 +714,8 @@ public Builder setInstanceConfig( return this; } /** + * + * *
      * The target instance config end state.
      * 
@@ -655,7 +726,9 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance if (instanceConfigBuilder_ == null) { if (instanceConfig_ != null) { instanceConfig_ = - com.google.spanner.admin.instance.v1.InstanceConfig.newBuilder(instanceConfig_).mergeFrom(value).buildPartial(); + com.google.spanner.admin.instance.v1.InstanceConfig.newBuilder(instanceConfig_) + .mergeFrom(value) + .buildPartial(); } else { instanceConfig_ = value; } @@ -667,6 +740,8 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance return this; } /** + * + * *
      * The target instance config end state.
      * 
@@ -685,6 +760,8 @@ public Builder clearInstanceConfig() { return this; } /** + * + * *
      * The target instance config end state.
      * 
@@ -692,26 +769,32 @@ public Builder clearInstanceConfig() { * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; */ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceConfigBuilder() { - + onChanged(); 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.
      * 
@@ -719,14 +802,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_; @@ -734,8 +820,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]
@@ -743,12 +834,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 progressBuilder_ != null || progress_ != null; } /** + * + * *
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -756,16 +850,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]
@@ -788,6 +887,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]
@@ -808,6 +909,8 @@ public Builder setProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -820,7 +923,9 @@ public Builder mergeProgress(com.google.spanner.admin.instance.v1.OperationProgr
       if (progressBuilder_ == null) {
         if (progress_ != null) {
           progress_ =
-            com.google.spanner.admin.instance.v1.OperationProgress.newBuilder(progress_).mergeFrom(value).buildPartial();
+              com.google.spanner.admin.instance.v1.OperationProgress.newBuilder(progress_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           progress_ = value;
         }
@@ -832,6 +937,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]
@@ -852,6 +959,8 @@ public Builder clearProgress() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -861,11 +970,13 @@ public Builder clearProgress() {
      * .google.spanner.admin.instance.v1.OperationProgress progress = 2;
      */
     public com.google.spanner.admin.instance.v1.OperationProgress.Builder getProgressBuilder() {
-      
+
       onChanged();
       return getProgressFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -878,11 +989,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]
@@ -892,14 +1006,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_;
@@ -907,34 +1024,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 cancelTimeBuilder_ != null || cancelTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -955,14 +1085,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(); onChanged(); @@ -973,6 +1104,8 @@ public Builder setCancelTime( return this; } /** + * + * *
      * The time at which this operation was cancelled.
      * 
@@ -983,7 +1116,7 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { if (cancelTimeBuilder_ == null) { if (cancelTime_ != null) { cancelTime_ = - com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial(); } else { cancelTime_ = value; } @@ -995,6 +1128,8 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this operation was cancelled.
      * 
@@ -1013,6 +1148,8 @@ public Builder clearCancelTime() { return this; } /** + * + * *
      * The time at which this operation was cancelled.
      * 
@@ -1020,11 +1157,13 @@ public Builder clearCancelTime() { * .google.protobuf.Timestamp cancel_time = 3; */ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() { - + onChanged(); return getCancelTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which this operation was cancelled.
      * 
@@ -1035,11 +1174,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.
      * 
@@ -1047,21 +1189,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); } @@ -1071,41 +1216,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; @@ -1117,9 +1264,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 68% 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 168fc555707..a673d7587a1 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,38 +45,44 @@ 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;
   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 @@ -67,30 +91,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 { @@ -101,6 +127,8 @@ public java.lang.String getParent() { public static final int INSTANCE_CONFIG_ID_FIELD_NUMBER = 2; 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
@@ -109,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceConfigId. */ @java.lang.Override @@ -117,14 +146,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
@@ -133,16 +163,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 { @@ -153,6 +182,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
@@ -161,7 +192,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 @@ -169,6 +203,8 @@ public boolean hasInstanceConfig() { return instanceConfig_ != null; } /** + * + * *
    * Required. The InstanceConfig proto of the configuration to create.
    * instance_config.name must be
@@ -177,14 +213,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
@@ -193,7 +236,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]; + * */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { @@ -203,12 +248,15 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; 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 @@ -217,6 +265,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +277,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -258,12 +306,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; @@ -273,24 +319,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; } @@ -311,104 +354,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].
@@ -416,33 +466,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();
@@ -462,13 +511,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();
     }
 
@@ -483,7 +533,8 @@ 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);
+      com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest result =
+          new com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest(this);
       result.parent_ = parent_;
       result.instanceConfigId_ = instanceConfigId_;
       if (instanceConfigBuilder_ == null) {
@@ -500,46 +551,50 @@ public com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest buildPar
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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_;
         onChanged();
@@ -580,34 +635,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              instanceConfigId_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                instanceConfigId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getInstanceConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            case 32: {
-              validateOnly_ = input.readBool();
+                break;
+              } // case 26
+            case 32:
+              {
+                validateOnly_ = input.readBool();
 
-              break;
-            } // case 32
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 32
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -620,19 +678,23 @@ public Builder mergeFrom(
 
     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; @@ -641,21 +703,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 { @@ -663,57 +728,70 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -721,6 +799,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
@@ -729,13 +809,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; @@ -744,6 +824,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
@@ -752,15 +834,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 { @@ -768,6 +849,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
@@ -776,20 +859,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) { + public Builder setInstanceConfigId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceConfigId_ = value; 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
@@ -798,15 +883,18 @@ public Builder setInstanceConfigId(
      * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInstanceConfigId() { - + instanceConfigId_ = getDefaultInstance().getInstanceConfigId(); 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
@@ -815,16 +903,16 @@ 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) { + public Builder setInstanceConfigIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceConfigId_ = value; onChanged(); return this; @@ -832,8 +920,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
@@ -842,13 +935,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 instanceConfigBuilder_ != null || instanceConfig_ != null; } /** + * + * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -857,17 +955,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
@@ -876,7 +981,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) { @@ -892,6 +999,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
@@ -900,7 +1009,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) { @@ -914,6 +1025,8 @@ public Builder setInstanceConfig( return this; } /** + * + * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -922,13 +1035,17 @@ 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 (instanceConfig_ != null) { instanceConfig_ = - com.google.spanner.admin.instance.v1.InstanceConfig.newBuilder(instanceConfig_).mergeFrom(value).buildPartial(); + com.google.spanner.admin.instance.v1.InstanceConfig.newBuilder(instanceConfig_) + .mergeFrom(value) + .buildPartial(); } else { instanceConfig_ = value; } @@ -940,6 +1057,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
@@ -948,7 +1067,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() { if (instanceConfigBuilder_ == null) { @@ -962,6 +1083,8 @@ public Builder clearInstanceConfig() { return this; } /** + * + * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -970,14 +1093,18 @@ 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() { - + onChanged(); return getInstanceConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -986,17 +1113,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
@@ -1005,30 +1138,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 @@ -1036,39 +1177,45 @@ 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; 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() { - + validateOnly_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1078,41 +1225,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; @@ -1124,9 +1273,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 74% 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 42a7e2f802f..f205b508734 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.
    * 
@@ -89,6 +117,8 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild 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 +126,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 +134,8 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time at which the
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -110,6 +143,7 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ @java.lang.Override @@ -117,6 +151,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 +169,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 +178,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 +186,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 +195,7 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return The cancelTime. */ @java.lang.Override @@ -161,6 +203,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 +221,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 +236,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 +251,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 +265,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +277,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (instance_ != null) { output.writeMessage(1, getInstance()); } @@ -248,20 +300,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 +319,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 +376,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 +481,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();
@@ -486,9 +538,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
@@ -507,7 +559,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);
+      com.google.spanner.admin.instance.v1.CreateInstanceMetadata result =
+          new com.google.spanner.admin.instance.v1.CreateInstanceMetadata(this);
       if (instanceBuilder_ == null) {
         result.instance_ = instance_;
       } else {
@@ -536,38 +589,39 @@ public com.google.spanner.admin.instance.v1.CreateInstanceMetadata buildPartial(
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -575,7 +629,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());
       }
@@ -614,40 +669,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getInstanceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getCancelTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -660,34 +712,47 @@ public Builder mergeFrom(
 
     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 instanceBuilder_ != null || instance_ != null; } /** + * + * *
      * 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.
      * 
@@ -708,6 +773,8 @@ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) return this; } /** + * + * *
      * The instance being created.
      * 
@@ -726,6 +793,8 @@ public Builder setInstance( return this; } /** + * + * *
      * The instance being created.
      * 
@@ -736,7 +805,9 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value if (instanceBuilder_ == null) { if (instance_ != null) { instance_ = - com.google.spanner.admin.instance.v1.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); + com.google.spanner.admin.instance.v1.Instance.newBuilder(instance_) + .mergeFrom(value) + .buildPartial(); } else { instance_ = value; } @@ -748,6 +819,8 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value return this; } /** + * + * *
      * The instance being created.
      * 
@@ -766,6 +839,8 @@ public Builder clearInstance() { return this; } /** + * + * *
      * The instance being created.
      * 
@@ -773,11 +848,13 @@ public Builder clearInstance() { * .google.spanner.admin.instance.v1.Instance instance = 1; */ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder() { - + onChanged(); return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * The instance being created.
      * 
@@ -788,11 +865,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.
      * 
@@ -800,14 +880,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_; @@ -815,8 +898,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]
@@ -824,12 +912,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 startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -837,6 +928,7 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -847,6 +939,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -869,6 +963,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -877,8 +973,7 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 2;
      */
-    public Builder setStartTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
         onChanged();
@@ -889,6 +984,8 @@ public Builder setStartTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -901,7 +998,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
         if (startTime_ != null) {
           startTime_ =
-            com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial();
         } else {
           startTime_ = value;
         }
@@ -913,6 +1010,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -933,6 +1032,8 @@ public Builder clearStartTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -942,11 +1043,13 @@ public Builder clearStartTime() {
      * .google.protobuf.Timestamp start_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
-      
+
       onChanged();
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -959,11 +1062,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+        return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -973,14 +1077,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_;
@@ -988,8 +1095,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
@@ -997,12 +1109,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return cancelTimeBuilder_ != null || 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
@@ -1010,16 +1125,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
@@ -1042,6 +1162,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
@@ -1050,8 +1172,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();
         onChanged();
@@ -1062,6 +1183,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
@@ -1074,7 +1197,7 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
         if (cancelTime_ != null) {
           cancelTime_ =
-            com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
         } else {
           cancelTime_ = value;
         }
@@ -1086,6 +1209,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
@@ -1106,6 +1231,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
@@ -1115,11 +1242,13 @@ public Builder clearCancelTime() {
      * .google.protobuf.Timestamp cancel_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
-      
+
       onChanged();
       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
@@ -1132,11 +1261,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
@@ -1146,14 +1278,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_;
@@ -1161,24 +1296,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 endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * 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() { @@ -1189,6 +1333,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1209,14 +1355,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(); onChanged(); @@ -1227,6 +1374,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1237,7 +1386,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1249,6 +1398,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1267,6 +1418,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1274,11 +1427,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 4; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1289,11 +1444,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.
      * 
@@ -1301,21 +1457,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); } @@ -1325,12 +1484,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(); } @@ -1339,27 +1498,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; @@ -1374,6 +1533,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 66% 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 1f88694e2d0..691e80d5b6c 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,38 +45,44 @@ 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;
   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 @@ -67,30 +91,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 { @@ -101,6 +127,8 @@ public java.lang.String getParent() { public static final int INSTANCE_ID_FIELD_NUMBER = 2; 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
@@ -108,6 +136,7 @@ public java.lang.String getParent() {
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ @java.lang.Override @@ -116,14 +145,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
@@ -131,16 +161,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 { @@ -151,12 +180,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 @@ -164,25 +198,36 @@ 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() { @@ -190,6 +235,7 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,8 +247,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -228,8 +273,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; @@ -239,21 +283,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; @@ -280,96 +322,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].
@@ -377,33 +427,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 +470,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,7 +491,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);
+      com.google.spanner.admin.instance.v1.CreateInstanceRequest result =
+          new com.google.spanner.admin.instance.v1.CreateInstanceRequest(this);
       result.parent_ = parent_;
       result.instanceId_ = instanceId_;
       if (instanceBuilder_ == null) {
@@ -458,38 +508,39 @@ public com.google.spanner.admin.instance.v1.CreateInstanceRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -497,7 +548,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_;
         onChanged();
@@ -535,29 +587,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              instanceId_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                instanceId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getInstanceFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -570,19 +624,23 @@ public Builder mergeFrom(
 
     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; @@ -591,21 +649,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 { @@ -613,57 +674,70 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -671,6 +745,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
@@ -678,13 +754,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; @@ -693,6 +769,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
@@ -700,15 +778,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 { @@ -716,6 +793,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
@@ -723,20 +802,22 @@ public java.lang.String getInstanceId() {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId( - java.lang.String value) { + public Builder setInstanceId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID 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
@@ -744,15 +825,18 @@ public Builder setInstanceId(
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInstanceId() { - + instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** + * + * *
      * Required. The ID 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
@@ -760,16 +844,16 @@ public Builder clearInstanceId() {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceId_ = value; onChanged(); return this; @@ -777,42 +861,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 instanceBuilder_ != null || 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. */ 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) { @@ -828,12 +931,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) { @@ -847,18 +954,24 @@ 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 (instance_ != null) { instance_ = - com.google.spanner.admin.instance.v1.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); + com.google.spanner.admin.instance.v1.Instance.newBuilder(instance_) + .mergeFrom(value) + .buildPartial(); } else { instance_ = value; } @@ -870,12 +983,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() { if (instanceBuilder_ == null) { @@ -889,58 +1006,74 @@ 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() { - + onChanged(); 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); } @@ -950,12 +1083,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(); } @@ -964,27 +1097,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; @@ -999,6 +1132,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 93d6665d277..1c5ba8ac321 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,39 +45,45 @@ 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;
   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 @@ -68,31 +92,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The 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 { @@ -103,6 +129,8 @@ public java.lang.String getName() { public static final int ETAG_FIELD_NUMBER = 2; 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
@@ -114,6 +142,7 @@ public java.lang.String getName() {
    * 
* * string etag = 2; + * * @return The etag. */ @java.lang.Override @@ -122,14 +151,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
@@ -141,16 +171,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 { @@ -161,12 +190,15 @@ public java.lang.String getEtag() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; 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 @@ -175,6 +207,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,8 +219,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -213,8 +245,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; @@ -224,19 +255,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; } @@ -253,104 +282,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].
@@ -358,33 +394,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 +433,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,7 +455,8 @@ 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);
+      com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest result =
+          new com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest(this);
       result.name_ = name_;
       result.etag_ = etag_;
       result.validateOnly_ = validateOnly_;
@@ -431,46 +468,50 @@ public com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest buildPar
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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_;
         onChanged();
@@ -508,27 +549,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              etag_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 24: {
-              validateOnly_ = input.readBool();
-
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                etag_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 24:
+              {
+                validateOnly_ = input.readBool();
+
+                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) {
@@ -541,20 +586,24 @@ public Builder mergeFrom(
 
     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; @@ -563,22 +612,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 { @@ -586,60 +638,73 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -647,6 +712,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
@@ -658,13 +725,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; @@ -673,6 +740,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
@@ -684,15 +753,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 { @@ -700,6 +768,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
@@ -711,20 +781,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 2; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { + public Builder setEtag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** + * + * *
      * Used for optimistic concurrency control as a way to help prevent
      * simultaneous deletes of an instance config from overwriting each
@@ -736,15 +808,18 @@ public Builder setEtag(
      * 
* * string etag = 2; + * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** + * + * *
      * Used for optimistic concurrency control as a way to help prevent
      * simultaneous deletes of an instance config from overwriting each
@@ -756,29 +831,32 @@ public Builder clearEtag() {
      * 
* * string etag = 2; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { + public Builder setEtagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; } - 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 @@ -786,39 +864,45 @@ 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; 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() { - + validateOnly_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -828,41 +912,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; @@ -874,9 +960,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 63% 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 b419a6c7d11..90b03f8f902 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,53 +28,60 @@
  *
  * 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;
   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 @@ -66,30 +90,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The 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 { @@ -98,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +160,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -162,96 +188,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].
@@ -259,33 +293,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();
@@ -295,9 +328,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
@@ -316,7 +349,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);
+      com.google.spanner.admin.instance.v1.DeleteInstanceRequest result =
+          new com.google.spanner.admin.instance.v1.DeleteInstanceRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -326,38 +360,39 @@ public com.google.spanner.admin.instance.v1.DeleteInstanceRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -365,7 +400,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_;
         onChanged();
@@ -396,17 +432,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -419,19 +457,23 @@ public Builder mergeFrom(
 
     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; @@ -440,21 +482,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 { @@ -462,64 +507,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -529,12 +587,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(); } @@ -543,27 +601,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; @@ -578,6 +636,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 63% 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 218e309ea9f..cb731e95a4c 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,53 +28,60 @@
  *
  * 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;
   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 @@ -66,30 +90,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The 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 { @@ -98,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +160,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -162,96 +188,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].
@@ -259,33 +293,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();
@@ -295,13 +328,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();
     }
 
@@ -316,7 +350,8 @@ 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);
+      com.google.spanner.admin.instance.v1.GetInstanceConfigRequest result =
+          new com.google.spanner.admin.instance.v1.GetInstanceConfigRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -326,38 +361,39 @@ public com.google.spanner.admin.instance.v1.GetInstanceConfigRequest buildPartia
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -365,7 +401,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_;
         onChanged();
@@ -396,17 +434,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -419,19 +459,23 @@ public Builder mergeFrom(
 
     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; @@ -440,21 +484,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 { @@ -462,64 +509,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -529,12 +589,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(); } @@ -543,27 +604,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; @@ -578,6 +639,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 4ee004fcd24..91e3ba13be4 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,53 +28,60 @@
  *
  * 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;
   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 @@ -66,30 +90,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The 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 { @@ -100,6 +126,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
@@ -108,6 +136,7 @@ public java.lang.String getName() {
    * 
* * .google.protobuf.FieldMask field_mask = 2; + * * @return Whether the fieldMask field is set. */ @java.lang.Override @@ -115,6 +144,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
@@ -123,6 +154,7 @@ public boolean hasFieldMask() {
    * 
* * .google.protobuf.FieldMask field_mask = 2; + * * @return The fieldMask. */ @java.lang.Override @@ -130,6 +162,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
@@ -145,6 +179,7 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -156,8 +191,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -177,8 +211,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;
@@ -188,19 +221,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;
@@ -225,96 +257,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].
@@ -322,33 +362,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 +403,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,7 +424,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);
+      com.google.spanner.admin.instance.v1.GetInstanceRequest result =
+          new com.google.spanner.admin.instance.v1.GetInstanceRequest(this);
       result.name_ = name_;
       if (fieldMaskBuilder_ == null) {
         result.fieldMask_ = fieldMask_;
@@ -400,38 +440,39 @@ public com.google.spanner.admin.instance.v1.GetInstanceRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -439,7 +480,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_;
         onChanged();
@@ -473,24 +515,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getFieldMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getFieldMaskFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -503,19 +546,23 @@ public Builder mergeFrom(
 
     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; @@ -524,21 +571,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 { @@ -546,57 +596,70 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -604,8 +667,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
@@ -614,12 +682,15 @@ public Builder setNameBytes(
      * 
* * .google.protobuf.FieldMask field_mask = 2; + * * @return Whether the fieldMask field is set. */ public boolean hasFieldMask() { return fieldMaskBuilder_ != null || fieldMask_ != null; } /** + * + * *
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -628,6 +699,7 @@ public boolean hasFieldMask() {
      * 
* * .google.protobuf.FieldMask field_mask = 2; + * * @return The fieldMask. */ public com.google.protobuf.FieldMask getFieldMask() { @@ -638,6 +710,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
@@ -661,6 +735,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
@@ -670,8 +746,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();
         onChanged();
@@ -682,6 +757,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
@@ -695,7 +772,7 @@ public Builder mergeFieldMask(com.google.protobuf.FieldMask value) {
       if (fieldMaskBuilder_ == null) {
         if (fieldMask_ != null) {
           fieldMask_ =
-            com.google.protobuf.FieldMask.newBuilder(fieldMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(fieldMask_).mergeFrom(value).buildPartial();
         } else {
           fieldMask_ = value;
         }
@@ -707,6 +784,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
@@ -728,6 +807,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
@@ -738,11 +819,13 @@ public Builder clearFieldMask() {
      * .google.protobuf.FieldMask field_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder() {
-      
+
       onChanged();
       return getFieldMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -756,11 +839,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
@@ -771,21 +855,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);
     }
 
@@ -795,12 +882,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();
   }
@@ -809,27 +896,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;
@@ -844,6 +931,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 3a11df10375..152630f0642 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;
@@ -218,6 +248,8 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   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
@@ -226,6 +258,7 @@ private State(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -234,14 +267,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
@@ -250,16 +284,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 { @@ -270,6 +303,8 @@ public java.lang.String getName() { public static final int CONFIG_FIELD_NUMBER = 2; private volatile java.lang.Object config_; /** + * + * *
    * Required. The name of the instance's configuration. Values are of the form
    * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -277,7 +312,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 @@ -286,14 +324,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
@@ -301,17 +340,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,12 +362,15 @@ public java.lang.String getConfig() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; 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 @@ -336,30 +379,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 { @@ -370,6 +413,8 @@ public java.lang.String getDisplayName() { public static final int NODE_COUNT_FIELD_NUMBER = 5; 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
@@ -381,6 +426,7 @@ public java.lang.String getDisplayName() {
    * 
* * int32 node_count = 5; + * * @return The nodeCount. */ @java.lang.Override @@ -391,6 +437,8 @@ public int getNodeCount() { public static final int PROCESSING_UNITS_FIELD_NUMBER = 9; 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
@@ -401,6 +449,7 @@ public int getNodeCount() {
    * 
* * int32 processing_units = 9; + * * @return The processingUnits. */ @java.lang.Override @@ -411,6 +460,8 @@ public int getProcessingUnits() { public static final int STATE_FIELD_NUMBER = 6; private int state_; /** + * + * *
    * Output only. The current instance state. For
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -419,13 +470,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],
@@ -434,34 +491,40 @@ 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() { + @java.lang.Override + public com.google.spanner.admin.instance.v1.Instance.State getState() { @SuppressWarnings("deprecation") - com.google.spanner.admin.instance.v1.Instance.State result = com.google.spanner.admin.instance.v1.Instance.State.valueOf(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.valueOf(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, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + 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, + ""); + } + + 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_; } @@ -470,6 +533,8 @@ 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
@@ -493,22 +558,22 @@ 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
@@ -533,11 +598,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-
   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,16 +628,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -596,12 +662,11 @@ public 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();
     }
@@ -611,34 +676,42 @@ public java.lang.String getLabelsOrThrow(
   public static final int ENDPOINT_URIS_FIELD_NUMBER = 8;
   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. */ @@ -646,27 +719,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 @@ -674,11 +753,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 @@ -686,11 +769,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() { @@ -700,11 +786,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 @@ -712,11 +802,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 @@ -724,11 +818,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() { @@ -736,6 +833,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -747,8 +845,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -761,15 +858,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)); } @@ -801,22 +895,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; @@ -827,16 +920,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; @@ -846,37 +936,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; @@ -922,152 +1004,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(); @@ -1102,9 +1188,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 @@ -1123,7 +1209,8 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; result.config_ = config_; @@ -1156,38 +1243,39 @@ public com.google.spanner.admin.instance.v1.Instance buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -1217,8 +1305,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()); if (!other.endpointUris_.isEmpty()) { if (endpointUris_.isEmpty()) { endpointUris_ = other.endpointUris_; @@ -1261,70 +1348,79 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - config_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - displayName_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 40: { - nodeCount_ = input.readInt32(); - - break; - } // case 40 - case 48: { - state_ = input.readEnum(); - - break; - } // case 48 - case 58: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } // case 58 - case 66: { - java.lang.String s = input.readStringRequireUtf8(); - ensureEndpointUrisIsMutable(); - endpointUris_.add(s); - break; - } // case 66 - case 72: { - processingUnits_ = input.readInt32(); - - break; - } // case 72 - case 90: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 90 - case 98: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 98 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + config_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + displayName_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 40: + { + nodeCount_ = input.readInt32(); + + break; + } // case 40 + case 48: + { + state_ = input.readEnum(); + + break; + } // case 48 + case 58: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + break; + } // case 58 + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureEndpointUrisIsMutable(); + endpointUris_.add(s); + break; + } // case 66 + case 72: + { + processingUnits_ = input.readInt32(); + + break; + } // case 72 + case 90: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 90 + case 98: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -1334,10 +1430,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
@@ -1346,13 +1445,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; @@ -1361,6 +1460,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
@@ -1369,15 +1470,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 { @@ -1385,6 +1485,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
@@ -1393,20 +1495,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. A unique identifier for the instance, which cannot be changed
      * after the instance is created. Values are of the form
@@ -1415,15 +1519,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. A unique identifier for the instance, which cannot be changed
      * after the instance is created. Values are of the form
@@ -1432,16 +1539,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1449,6 +1556,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
@@ -1456,14 +1565,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; @@ -1472,6 +1583,8 @@ public java.lang.String getConfig() { } } /** + * + * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1479,16 +1592,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 { @@ -1496,6 +1610,8 @@ public java.lang.String getConfig() { } } /** + * + * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1503,21 +1619,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) { + public Builder setConfig(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + config_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1525,16 +1645,21 @@ 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() { - + config_ = getDefaultInstance().getConfig(); onChanged(); return this; } /** + * + * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1542,17 +1667,19 @@ 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) { + public Builder setConfigBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + config_ = value; onChanged(); return this; @@ -1560,19 +1687,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; @@ -1581,21 +1710,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 { @@ -1603,64 +1733,73 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * 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() { - + displayName_ = getDefaultInstance().getDisplayName(); 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]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } - 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
@@ -1672,6 +1811,7 @@ public Builder setDisplayNameBytes(
      * 
* * int32 node_count = 5; + * * @return The nodeCount. */ @java.lang.Override @@ -1679,6 +1819,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
@@ -1690,16 +1832,19 @@ 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; 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
@@ -1711,17 +1856,20 @@ public Builder setNodeCount(int value) {
      * 
* * int32 node_count = 5; + * * @return This builder for chaining. */ public Builder clearNodeCount() { - + nodeCount_ = 0; onChanged(); 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
@@ -1732,6 +1880,7 @@ public Builder clearNodeCount() {
      * 
* * int32 processing_units = 9; + * * @return The processingUnits. */ @java.lang.Override @@ -1739,6 +1888,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
@@ -1749,16 +1900,19 @@ 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; 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
@@ -1769,10 +1923,11 @@ public Builder setProcessingUnits(int value) {
      * 
* * int32 processing_units = 9; + * * @return This builder for chaining. */ public Builder clearProcessingUnits() { - + processingUnits_ = 0; onChanged(); return this; @@ -1780,6 +1935,8 @@ public Builder clearProcessingUnits() { private int state_ = 0; /** + * + * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -1788,13 +1945,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],
@@ -1803,17 +1966,22 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -1822,16 +1990,24 @@ 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.instance.v1.Instance.State result = com.google.spanner.admin.instance.v1.Instance.State.valueOf(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.valueOf(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],
@@ -1840,7 +2016,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. */ @@ -1848,12 +2027,14 @@ public Builder setState(com.google.spanner.admin.instance.v1.Instance.State valu if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -1862,32 +2043,34 @@ 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() { - + state_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1899,6 +2082,8 @@ 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
@@ -1922,22 +2107,22 @@ 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
@@ -1962,11 +2147,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 7;
      */
     @java.lang.Override
-
     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
@@ -1991,16 +2177,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 7;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2025,12 +2212,11 @@ public 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();
       }
@@ -2038,11 +2224,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      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
@@ -2066,23 +2253,21 @@ 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() {
       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
@@ -2106,19 +2291,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"); }
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2142,50 +2328,57 @@ 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);
       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_ & 0x00000002) != 0)) {
         endpointUris_ = new com.google.protobuf.LazyStringArrayList(endpointUris_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * 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. */ @@ -2193,80 +2386,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) { + public Builder setEndpointUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEndpointUrisIsMutable(); + 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) { + public Builder addEndpointUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEndpointUrisIsMutable(); + 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() { @@ -2276,20 +2479,22 @@ 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) { + public Builder addEndpointUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureEndpointUrisIsMutable(); endpointUris_.add(value); onChanged(); @@ -2298,39 +2503,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 createTimeBuilder_ != null || 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. */ 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 +2570,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(); onChanged(); @@ -2364,17 +2591,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2386,11 +2617,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() { if (createTimeBuilder_ == null) { @@ -2404,48 +2639,64 @@ 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() { - + onChanged(); 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 +2704,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 updateTimeBuilder_ != null || 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. */ 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 +2771,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(); onChanged(); @@ -2519,17 +2792,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2541,11 +2818,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() { if (updateTimeBuilder_ == null) { @@ -2559,55 +2840,71 @@ 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() { - + onChanged(); 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 +2914,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 +2928,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 +2963,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 0a33e48b2c7..a81cbd129a4 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;
@@ -364,6 +410,8 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * A unique identifier for the instance configuration.  Values
    * are of the form
@@ -371,6 +419,7 @@ private State(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -379,14 +428,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
@@ -394,16 +444,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 { @@ -414,11 +463,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; 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 @@ -427,29 +479,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 { @@ -460,35 +512,52 @@ public java.lang.String getDisplayName() { public static final int CONFIG_TYPE_FIELD_NUMBER = 5; private int 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 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() { + @java.lang.Override + public com.google.spanner.admin.instance.v1.InstanceConfig.Type getConfigType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.instance.v1.InstanceConfig.Type result = com.google.spanner.admin.instance.v1.InstanceConfig.Type.valueOf(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.valueOf(configType_); + return result == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.Type.UNRECOGNIZED + : result; } public static final int REPLICAS_FIELD_NUMBER = 3; private java.util.List replicas_; /** + * + * *
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -501,6 +570,8 @@ public java.util.List getRepli
     return replicas_;
   }
   /**
+   *
+   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -509,11 +580,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.
@@ -526,6 +599,8 @@ public int getReplicasCount() {
     return replicas_.size();
   }
   /**
+   *
+   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -538,6 +613,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.
@@ -546,69 +623,89 @@ 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;
   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( @@ -619,6 +716,8 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalRepl public static final int BASE_CONFIG_FIELD_NUMBER = 7; 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
@@ -627,6 +726,7 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalRepl
    * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } + * * @return The baseConfig. */ @java.lang.Override @@ -635,14 +735,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
@@ -651,16 +752,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 { @@ -669,24 +769,23 @@ 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, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + 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, + ""); + } + + 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_; } @@ -695,6 +794,8 @@ 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
@@ -718,22 +819,22 @@ 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
@@ -758,11 +859,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 8;
    */
   @java.lang.Override
-
   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
@@ -787,16 +889,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 8;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -821,12 +923,11 @@ public 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,6 +937,8 @@ public java.lang.String getLabelsOrThrow(
   public static final int ETAG_FIELD_NUMBER = 9;
   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
@@ -850,6 +953,7 @@ public java.lang.String getLabelsOrThrow(
    * 
* * string etag = 9; + * * @return The etag. */ @java.lang.Override @@ -858,14 +962,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
@@ -880,16 +985,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 { @@ -900,37 +1004,45 @@ public java.lang.String getEtag() { public static final int LEADER_OPTIONS_FIELD_NUMBER = 4; 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. */ @@ -938,29 +1050,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_; /** + * + * *
    * 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 @@ -971,31 +1088,47 @@ public boolean getReconciling() { public static final int STATE_FIELD_NUMBER = 11; private int 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 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() { + @java.lang.Override + public com.google.spanner.admin.instance.v1.InstanceConfig.State getState() { @SuppressWarnings("deprecation") - com.google.spanner.admin.instance.v1.InstanceConfig.State result = com.google.spanner.admin.instance.v1.InstanceConfig.State.valueOf(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.valueOf(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; @@ -1007,8 +1140,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1021,7 +1153,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++) { @@ -1030,19 +1163,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); @@ -1061,8 +1192,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; @@ -1072,37 +1202,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; @@ -1112,32 +1241,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; @@ -1177,8 +1298,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(); @@ -1187,96 +1307,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.
@@ -1284,55 +1411,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();
@@ -1371,9 +1495,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
@@ -1392,7 +1516,8 @@ 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);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -1434,38 +1559,39 @@ public com.google.spanner.admin.instance.v1.InstanceConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -1473,7 +1599,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_;
         onChanged();
@@ -1503,9 +1630,10 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.InstanceConfig oth
             replicasBuilder_ = null;
             replicas_ = other.replicas_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            replicasBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getReplicasFieldBuilder() : null;
+            replicasBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getReplicasFieldBuilder()
+                    : null;
           } else {
             replicasBuilder_.addAllMessages(other.replicas_);
           }
@@ -1529,9 +1657,10 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.InstanceConfig oth
             optionalReplicasBuilder_ = null;
             optionalReplicas_ = other.optionalReplicas_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            optionalReplicasBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getOptionalReplicasFieldBuilder() : null;
+            optionalReplicasBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getOptionalReplicasFieldBuilder()
+                    : null;
           } else {
             optionalReplicasBuilder_.addAllMessages(other.optionalReplicas_);
           }
@@ -1541,8 +1670,7 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.InstanceConfig oth
         baseConfig_ = other.baseConfig_;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       if (!other.getEtag().isEmpty()) {
         etag_ = other.etag_;
         onChanged();
@@ -1589,87 +1717,101 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 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();
-
-              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();
-
-              break;
-            } // case 58
-            case 66: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              break;
-            } // case 66
-            case 74: {
-              etag_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 74
-            case 80: {
-              reconciling_ = input.readBool();
-
-              break;
-            } // case 80
-            case 88: {
-              state_ = input.readEnum();
-
-              break;
-            } // case 88
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 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();
+
+                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();
+
+                break;
+              } // case 58
+            case 66:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                break;
+              } // case 66
+            case 74:
+              {
+                etag_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 74
+            case 80:
+              {
+                reconciling_ = input.readBool();
+
+                break;
+              } // case 80
+            case 88:
+              {
+                state_ = input.readEnum();
+
+                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) {
@@ -1679,10 +1821,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
@@ -1690,13 +1835,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; @@ -1705,6 +1850,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1712,15 +1859,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 { @@ -1728,6 +1874,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1735,20 +1883,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1756,15 +1906,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1772,16 +1925,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1789,18 +1942,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; @@ -1809,20 +1964,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 { @@ -1830,110 +1986,141 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - displayName_ = value; + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + displayName_ = value; onChanged(); return this; } 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. */ public Builder setConfigTypeValue(int value) { - + configType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.instance.v1.InstanceConfig.Type result = com.google.spanner.admin.instance.v1.InstanceConfig.Type.valueOf(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.valueOf(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. */ @@ -1941,40 +2128,52 @@ public Builder setConfigType(com.google.spanner.admin.instance.v1.InstanceConfig if (value == null) { throw new NullPointerException(); } - + configType_ = value.getNumber(); onChanged(); 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() { - + configType_ = 0; onChanged(); return this; } private java.util.List replicas_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureReplicasIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - replicas_ = new java.util.ArrayList(replicas_); + replicas_ = + new java.util.ArrayList(replicas_); bitField0_ |= 0x00000001; - } + } } 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.
@@ -1990,6 +2189,8 @@ public java.util.List getRepli
       }
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2005,6 +2206,8 @@ public int getReplicasCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2020,6 +2223,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.
@@ -2027,8 +2232,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();
@@ -2042,6 +2246,8 @@ public Builder setReplicas(
       return this;
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2061,6 +2267,8 @@ public Builder setReplicas(
       return this;
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2082,6 +2290,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.
@@ -2089,8 +2299,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();
@@ -2104,6 +2313,8 @@ public Builder addReplicas(
       return this;
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2123,6 +2334,8 @@ public Builder addReplicas(
       return this;
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2142,6 +2355,8 @@ public Builder addReplicas(
       return this;
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2153,8 +2368,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);
@@ -2162,6 +2376,8 @@ public Builder addAllReplicas(
       return this;
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2180,6 +2396,8 @@ public Builder clearReplicas() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2198,6 +2416,8 @@ public Builder removeReplicas(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2205,11 +2425,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.
@@ -2220,11 +2441,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.
@@ -2232,8 +2456,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 {
@@ -2241,6 +2465,8 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBu
       }
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2249,10 +2475,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.
@@ -2260,12 +2488,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.
@@ -2273,46 +2502,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_ & 0x00000001) != 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_ & 0x00000001) != 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_ & 0x00000002) != 0)) {
-        optionalReplicas_ = new java.util.ArrayList(optionalReplicas_);
+        optionalReplicas_ =
+            new java.util.ArrayList(
+                optionalReplicas_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     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 { @@ -2320,12 +2563,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) { @@ -2335,12 +2582,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) { @@ -2350,12 +2601,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) { @@ -2372,12 +2627,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) { @@ -2391,12 +2650,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) { @@ -2412,12 +2675,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) { @@ -2434,12 +2701,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) { @@ -2453,12 +2724,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) { @@ -2472,19 +2747,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); @@ -2492,12 +2770,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) { @@ -2510,12 +2792,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) { @@ -2528,42 +2814,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 { @@ -2571,48 +2870,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_ & 0x00000002) != 0), getParentForChildren(), @@ -2624,6 +2941,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
@@ -2632,13 +2951,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; @@ -2647,6 +2966,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
@@ -2655,15 +2976,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 { @@ -2671,6 +2991,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
@@ -2679,20 +3001,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) { + public Builder setBaseConfig(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + baseConfig_ = value; 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
@@ -2701,15 +3025,18 @@ public Builder setBaseConfig(
      * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearBaseConfig() { - + baseConfig_ = getDefaultInstance().getBaseConfig(); 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
@@ -2718,37 +3045,36 @@ 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) { + public Builder setBaseConfigBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + baseConfig_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2760,6 +3086,8 @@ 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
@@ -2783,22 +3111,22 @@ 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
@@ -2823,11 +3151,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 8;
      */
     @java.lang.Override
-
     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
@@ -2852,16 +3181,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 8;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2886,12 +3216,11 @@ public 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();
       }
@@ -2899,11 +3228,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      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
@@ -2927,23 +3257,21 @@ 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() {
       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
@@ -2967,19 +3295,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"); }
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -3003,16 +3332,15 @@ 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);
       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
@@ -3027,13 +3355,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; @@ -3042,6 +3370,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
@@ -3056,15 +3386,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 { @@ -3072,6 +3401,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
@@ -3086,20 +3417,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) { + public Builder setEtag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** + * + * *
      * etag is used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance config from overwriting
@@ -3114,15 +3447,18 @@ public Builder setEtag(
      * 
* * string etag = 9; + * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** + * + * *
      * etag is used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance config from overwriting
@@ -3137,60 +3473,70 @@ 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) { + public Builder setEtagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; } - 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_ & 0x00000008) != 0)) { leaderOptions_ = new com.google.protobuf.LazyStringArrayList(leaderOptions_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
      * 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. */ @@ -3198,85 +3544,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) { + public Builder setLeaderOptions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLeaderOptionsIsMutable(); + 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) { + public Builder addLeaderOptions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLeaderOptionsIsMutable(); + 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() { @@ -3286,35 +3642,40 @@ 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) { + public Builder addLeaderOptionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLeaderOptionsIsMutable(); leaderOptions_.add(value); onChanged(); 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,32 +3683,38 @@ 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; 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() { - + reconciling_ = false; onChanged(); return this; @@ -3355,51 +3722,75 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.instance.v1.InstanceConfig.State result = com.google.spanner.admin.instance.v1.InstanceConfig.State.valueOf(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.valueOf(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. */ @@ -3407,28 +3798,33 @@ public Builder setState(com.google.spanner.admin.instance.v1.InstanceConfig.Stat if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3438,12 +3834,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 +3848,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 +3883,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 a1a85399ea0..9a73ae0770f 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
@@ -305,11 +375,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -333,11 +405,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
@@ -352,10 +424,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
@@ -370,82 +445,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 27be0e727d9..a16ebeccae5 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
@@ -248,11 +302,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -276,102 +332,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 e7fa84f49da..9732e0d8aba 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,38 +48,44 @@ 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;
   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 @@ -68,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 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 { @@ -102,6 +130,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * An expression that filters the list of returned operations.
    * A filter expression consists of a field name, a
@@ -143,6 +173,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -151,14 +182,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_; /** + * + * *
    * 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,6 +270,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; 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]
@@ -245,6 +281,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -253,14 +290,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]
@@ -270,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 { @@ -288,6 +325,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -299,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_); } @@ -329,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_); @@ -343,21 +379,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; } @@ -383,96 +417,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].
@@ -480,33 +523,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 +566,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,7 +590,8 @@ 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);
+      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest result =
+          new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest(this);
       result.parent_ = parent_;
       result.filter_ = filter_;
       result.pageSize_ = pageSize_;
@@ -556,46 +604,52 @@ public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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_;
         onChanged();
@@ -637,32 +691,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              filter_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                filter_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 24: {
-              pageSize_ = input.readInt32();
+                break;
+              } // case 18
+            case 24:
+              {
+                pageSize_ = input.readInt32();
 
-              break;
-            } // case 24
-            case 34: {
-              pageToken_ = input.readStringRequireUtf8();
+                break;
+              } // case 24
+            case 34:
+              {
+                pageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -675,19 +734,23 @@ public Builder mergeFrom(
 
     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; @@ -696,21 +759,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 { @@ -718,57 +784,70 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -776,6 +855,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
@@ -817,13 +898,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; @@ -832,6 +913,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -873,15 +956,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 { @@ -889,6 +971,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -930,20 +1014,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -985,15 +1071,18 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -1035,29 +1124,32 @@ public Builder clearFilter() {
      * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - 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,32 +1157,38 @@ 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; 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() { - + pageSize_ = 0; onChanged(); return this; @@ -1098,6 +1196,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]
@@ -1107,13 +1207,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 +1222,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]
@@ -1131,15 +1233,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 { @@ -1147,6 +1248,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]
@@ -1156,20 +1259,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -1179,15 +1284,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -1197,23 +1305,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1223,41 +1331,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; @@ -1269,9 +1380,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 7e138626a2c..8cdfef5f51d 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,32 +47,36 @@ 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;
   private java.util.List operations_;
   /**
+   *
+   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -68,6 +92,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
@@ -79,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 instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -99,6 +127,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
@@ -114,6 +144,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
@@ -125,14 +157,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;
   private volatile java.lang.Object nextPageToken_;
   /**
+   *
+   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -140,6 +173,7 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -148,14 +182,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]
@@ -163,16 +198,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 { @@ -181,6 +215,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,8 +227,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } @@ -210,8 +244,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_); @@ -224,17 +257,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; } @@ -258,96 +291,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].
@@ -355,33 +397,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();
@@ -398,19 +441,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);
       }
@@ -418,8 +464,10 @@ 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);
       int from_bitField0_ = bitField0_;
       if (operationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -439,46 +487,52 @@ public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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()) {
@@ -497,9 +551,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_);
           }
@@ -535,30 +590,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();
+            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();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -568,21 +624,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
@@ -601,6 +664,8 @@ public java.util.List getOperationsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -619,6 +684,8 @@ public int getOperationsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -637,6 +704,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
@@ -647,8 +716,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();
@@ -662,6 +730,8 @@ public Builder setOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -684,6 +754,8 @@ public Builder setOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -708,6 +780,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
@@ -718,8 +792,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();
@@ -733,6 +806,8 @@ public Builder addOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -743,8 +818,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());
@@ -755,6 +829,8 @@ public Builder addOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -777,6 +853,8 @@ public Builder addOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -791,8 +869,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);
@@ -800,6 +877,8 @@ public Builder addAllOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -821,6 +900,8 @@ public Builder clearOperations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -842,6 +923,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
@@ -852,11 +935,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
@@ -867,14 +951,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
@@ -885,8 +971,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 {
@@ -894,6 +980,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
@@ -905,10 +993,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
@@ -919,12 +1009,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
@@ -935,20 +1026,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_;
@@ -956,6 +1049,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]
@@ -963,13 +1058,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; @@ -978,6 +1073,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -985,15 +1082,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 { @@ -1001,6 +1097,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -1008,20 +1106,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -1029,15 +1129,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -1045,23 +1148,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1071,41 +1174,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; @@ -1117,9 +1223,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 2f5fd8cee86..fe89a65ef2d 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,39 +45,45 @@ 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;
   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 @@ -68,31 +92,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 { @@ -103,12 +129,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -119,6 +148,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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]
@@ -127,6 +158,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -135,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.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -151,16 +184,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 { @@ -169,6 +201,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,8 +213,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -204,8 +236,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -218,19 +249,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; } @@ -254,96 +283,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].
@@ -351,33 +388,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 +427,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,7 +449,8 @@ 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);
+      com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest result =
+          new com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -424,46 +462,50 @@ public com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest buildPart
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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_;
         onChanged();
@@ -501,27 +543,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -534,20 +580,24 @@ public Builder mergeFrom(
 
     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; @@ -556,22 +606,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 { @@ -579,73 +632,89 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * 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 @@ -653,32 +722,38 @@ 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; 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() { - + pageSize_ = 0; onChanged(); return this; @@ -686,6 +761,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]
@@ -694,13 +771,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; @@ -709,6 +786,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]
@@ -717,15 +796,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 { @@ -733,6 +811,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]
@@ -741,20 +821,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -763,15 +845,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -780,23 +865,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -806,41 +891,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; @@ -852,9 +939,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 f6494a8ebd0..9c640669846 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,32 +45,35 @@ 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;
   private java.util.List instanceConfigs_;
   /**
+   *
+   *
    * 
    * The list of requested instance configurations.
    * 
@@ -60,10 +81,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.
    * 
@@ -71,11 +95,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.
    * 
@@ -87,6 +113,8 @@ public int getInstanceConfigsCount() { return instanceConfigs_.size(); } /** + * + * *
    * The list of requested instance configurations.
    * 
@@ -98,6 +126,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfigs(in return instanceConfigs_.get(index); } /** + * + * *
    * The list of requested instance configurations.
    * 
@@ -113,6 +143,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -120,6 +152,7 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,14 +161,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]
@@ -143,16 +177,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -161,6 +194,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -190,8 +223,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_); @@ -204,17 +236,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; } @@ -238,96 +269,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].
@@ -335,33 +374,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();
@@ -378,13 +416,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();
     }
 
@@ -399,7 +438,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (instanceConfigsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -419,46 +459,50 @@ public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse buildPar
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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()) {
@@ -477,9 +521,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_);
           }
@@ -515,30 +560,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();
+            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();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -548,28 +596,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 { @@ -577,6 +635,8 @@ public java.util.List getIn } } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -591,6 +651,8 @@ public int getInstanceConfigsCount() { } } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -605,6 +667,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfigs(in } } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -626,6 +690,8 @@ public Builder setInstanceConfigs( return this; } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -644,6 +710,8 @@ public Builder setInstanceConfigs( return this; } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -664,6 +732,8 @@ public Builder addInstanceConfigs(com.google.spanner.admin.instance.v1.InstanceC return this; } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -685,6 +755,8 @@ public Builder addInstanceConfigs( return this; } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -703,6 +775,8 @@ public Builder addInstanceConfigs( return this; } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -721,6 +795,8 @@ public Builder addInstanceConfigs( return this; } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -731,8 +807,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); @@ -740,6 +815,8 @@ public Builder addAllInstanceConfigs( return this; } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -757,6 +834,8 @@ public Builder clearInstanceConfigs() { return this; } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -774,6 +853,8 @@ public Builder removeInstanceConfigs(int index) { return this; } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -785,6 +866,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo return getInstanceConfigsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -794,19 +877,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 { @@ -814,6 +900,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC } } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -821,10 +909,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.
      * 
@@ -833,26 +923,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(), @@ -864,6 +963,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]
@@ -871,13 +972,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; @@ -886,6 +987,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -893,15 +996,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -909,6 +1011,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -916,20 +1020,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -937,15 +1043,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -953,23 +1062,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,41 +1088,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; @@ -1025,9 +1136,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 778943f1a7e..46a0dc0000d 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,38 +46,44 @@ private ListInstancesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListInstancesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.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;
   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 @@ -68,30 +92,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The 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 { @@ -102,12 +128,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -118,6 +147,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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]
@@ -126,6 +157,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -134,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.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -150,16 +183,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,6 +202,8 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; 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:
@@ -190,6 +224,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -198,14 +233,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:
@@ -226,16 +262,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 { @@ -244,6 +279,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +291,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -282,8 +317,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_); @@ -299,21 +333,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; } @@ -339,96 +370,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].
@@ -436,33 +475,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 +516,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,7 +537,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);
+      com.google.spanner.admin.instance.v1.ListInstancesRequest result =
+          new com.google.spanner.admin.instance.v1.ListInstancesRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -512,38 +551,39 @@ public com.google.spanner.admin.instance.v1.ListInstancesRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -551,7 +591,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_;
         onChanged();
@@ -593,32 +634,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
 
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              filter_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 34:
+              {
+                filter_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -631,19 +677,23 @@ public Builder mergeFrom(
 
     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; @@ -652,21 +702,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 { @@ -674,70 +727,86 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the project for which a list of instances is
      * requested. Values are of the form `projects/<project>`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the project for which a list of instances is
      * requested. Values are of the form `projects/<project>`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - 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 @@ -745,32 +814,38 @@ 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; 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() { - + pageSize_ = 0; onChanged(); return this; @@ -778,6 +853,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]
@@ -786,13 +863,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,6 +878,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]
@@ -809,15 +888,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 { @@ -825,6 +903,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]
@@ -833,20 +913,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -855,15 +937,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -872,16 +957,16 @@ 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -889,6 +974,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:
@@ -909,13 +996,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; @@ -924,6 +1011,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:
@@ -944,15 +1033,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 { @@ -960,6 +1048,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:
@@ -980,20 +1070,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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1014,15 +1106,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1043,23 +1138,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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1069,12 +1164,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(); } @@ -1083,27 +1178,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; @@ -1118,6 +1213,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 d2fe402fac0..d91f6a055b4 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,32 +45,35 @@ private ListInstancesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListInstancesResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.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;
   private java.util.List instances_;
   /**
+   *
+   *
    * 
    * The list of requested instances.
    * 
@@ -64,6 +85,8 @@ public java.util.List getInstance return instances_; } /** + * + * *
    * The list of requested instances.
    * 
@@ -71,11 +94,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.
    * 
@@ -87,6 +112,8 @@ public int getInstancesCount() { return instances_.size(); } /** + * + * *
    * The list of requested instances.
    * 
@@ -98,6 +125,8 @@ public com.google.spanner.admin.instance.v1.Instance getInstances(int index) { return instances_.get(index); } /** + * + * *
    * The list of requested instances.
    * 
@@ -105,14 +134,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; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -120,6 +150,7 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuil
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,14 +159,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -143,16 +175,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -161,6 +192,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +204,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < instances_.size(); i++) { output.writeMessage(1, instances_.get(i)); } @@ -190,8 +221,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_); @@ -204,17 +234,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -238,96 +267,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].
@@ -335,33 +372,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();
@@ -378,9 +414,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
@@ -399,7 +435,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (instancesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -419,38 +456,39 @@ public com.google.spanner.admin.instance.v1.ListInstancesResponse buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -458,7 +496,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()) {
@@ -477,9 +516,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_);
           }
@@ -515,30 +555,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();
+            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();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -548,21 +590,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.
      * 
@@ -577,6 +627,8 @@ public java.util.List getInstance } } /** + * + * *
      * The list of requested instances.
      * 
@@ -591,6 +643,8 @@ public int getInstancesCount() { } } /** + * + * *
      * The list of requested instances.
      * 
@@ -605,14 +659,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(); @@ -626,6 +681,8 @@ public Builder setInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -644,6 +701,8 @@ public Builder setInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -664,14 +723,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(); @@ -685,6 +745,8 @@ public Builder addInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -703,6 +765,8 @@ public Builder addInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -721,6 +785,8 @@ public Builder addInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -731,8 +797,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); @@ -740,6 +805,8 @@ public Builder addAllInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -757,6 +824,8 @@ public Builder clearInstances() { return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -774,39 +843,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 { @@ -814,6 +888,8 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuil } } /** + * + * *
      * The list of requested instances.
      * 
@@ -821,42 +897,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_; @@ -864,6 +946,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]
@@ -871,13 +955,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; @@ -886,6 +970,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -893,15 +979,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -909,6 +994,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -916,20 +1003,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -937,15 +1026,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -953,23 +1045,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1071,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(); } @@ -993,27 +1085,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; @@ -1028,6 +1120,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 71% 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 271addf53f8..cda3c54bc19 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_;
   /**
+   *
+   *
    * 
    * 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();
@@ -386,9 +425,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
@@ -407,7 +446,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);
+      com.google.spanner.admin.instance.v1.OperationProgress result =
+          new com.google.spanner.admin.instance.v1.OperationProgress(this);
       result.progressPercent_ = progressPercent_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -427,38 +467,39 @@ public com.google.spanner.admin.instance.v1.OperationProgress buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -466,7 +507,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());
       }
@@ -502,31 +544,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              progressPercent_ = input.readInt32();
+            case 8:
+              {
+                progressPercent_ = input.readInt32();
 
-              break;
-            } // case 8
-            case 18: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 8
+            case 18:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -537,14 +579,17 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int progressPercent_ ;
+    private int progressPercent_;
     /**
+     *
+     *
      * 
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; + * * @return The progressPercent. */ @java.lang.Override @@ -552,32 +597,38 @@ public int getProgressPercent() { return progressPercent_; } /** + * + * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; + * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; onChanged(); return this; } /** + * + * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; + * * @return This builder for chaining. */ public Builder clearProgressPercent() { - + progressPercent_ = 0; onChanged(); return this; @@ -585,24 +636,33 @@ public Builder clearProgressPercent() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -613,6 +673,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Time the request was received.
      * 
@@ -633,14 +695,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -651,6 +714,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Time the request was received.
      * 
@@ -661,7 +726,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -673,6 +738,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the request was received.
      * 
@@ -691,6 +758,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Time the request was received.
      * 
@@ -698,11 +767,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 2; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the request was received.
      * 
@@ -713,11 +784,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * Time the request was received.
      * 
@@ -725,14 +797,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -740,26 +815,35 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * If set, the time at which this operation failed or was completed
      * successfully.
      * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * If set, the time at which this operation failed or was completed
      * successfully.
      * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -770,6 +854,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -791,6 +877,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -798,8 +886,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 3;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -810,6 +897,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -821,7 +910,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -833,6 +922,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -852,6 +943,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -860,11 +953,13 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-      
+
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -876,11 +971,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -889,21 +985,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -913,12 +1012,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();
   }
@@ -927,27 +1026,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;
@@ -962,6 +1061,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 6c50cd6d90b..b0705345d38 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;
@@ -240,11 +272,14 @@ private ReplicaType(int value) {
   public static final int LOCATION_FIELD_NUMBER = 1;
   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 @@ -253,29 +288,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 { @@ -286,33 +321,46 @@ public java.lang.String getLocation() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType getType() { @SuppressWarnings("deprecation") - com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType result = com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.valueOf(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.valueOf(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_; /** + * + * *
    * If true, this location is designated as the default leader location where
    * leader replicas are placed. See the [region types
@@ -321,6 +369,7 @@ public java.lang.String getLocation() {
    * 
* * bool default_leader_location = 3; + * * @return The defaultLeaderLocation. */ @java.lang.Override @@ -329,6 +378,7 @@ public boolean getDefaultLeaderLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,12 +390,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 +414,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 +430,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 +457,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(); @@ -547,9 +598,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 @@ -568,7 +619,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); + com.google.spanner.admin.instance.v1.ReplicaInfo result = + new com.google.spanner.admin.instance.v1.ReplicaInfo(this); result.location_ = location_; result.type_ = type_; result.defaultLeaderLocation_ = defaultLeaderLocation_; @@ -580,38 +632,39 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -619,7 +672,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_; onChanged(); @@ -656,27 +710,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - location_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: { - type_ = input.readEnum(); - - break; - } // case 16 - case 24: { - defaultLeaderLocation_ = input.readBool(); - - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + location_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: + { + type_ = input.readEnum(); + + break; + } // case 16 + case 24: + { + defaultLeaderLocation_ = input.readBool(); + + 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) { @@ -689,18 +747,20 @@ public Builder mergeFrom( 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; @@ -709,20 +769,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 { @@ -730,54 +791,61 @@ 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) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
      * The location of the serving resources, e.g. "us-central1".
      * 
* * string location = 1; + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); 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) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; @@ -785,51 +853,67 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType result = com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.valueOf(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.valueOf(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. */ @@ -837,28 +921,33 @@ public Builder setType(com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaT if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The type of replica.
      * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); 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
@@ -867,6 +956,7 @@ public Builder clearType() {
      * 
* * bool default_leader_location = 3; + * * @return The defaultLeaderLocation. */ @java.lang.Override @@ -874,6 +964,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
@@ -882,16 +974,19 @@ 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; onChanged(); return this; } /** + * + * *
      * If true, this location is designated as the default leader location where
      * leader replicas are placed. See the [region types
@@ -900,17 +995,18 @@ public Builder setDefaultLeaderLocation(boolean value) {
      * 
* * bool default_leader_location = 3; + * * @return This builder for chaining. */ public Builder clearDefaultLeaderLocation() { - + defaultLeaderLocation_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -920,12 +1016,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(); } @@ -934,27 +1030,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; @@ -969,6 +1065,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..9a698cf6736 --- /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\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/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 70% 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 48fa219536f..8b3d0b7d706 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.
    * 
@@ -89,6 +117,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC 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 +126,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 +134,8 @@ public boolean hasProgress() { return progress_ != null; } /** + * + * *
    * The progress of the
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -110,13 +143,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]
@@ -133,11 +171,14 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
   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 +186,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 +201,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 +215,7 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,8 +227,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (instanceConfig_ != null) { output.writeMessage(1, getInstanceConfig()); } @@ -201,16 +247,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 +263,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 +312,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 +418,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();
@@ -420,13 +470,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();
     }
 
@@ -441,7 +492,8 @@ 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);
+      com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata result =
+          new com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata(this);
       if (instanceConfigBuilder_ == null) {
         result.instanceConfig_ = instanceConfig_;
       } else {
@@ -465,46 +517,50 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata buildPa
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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());
       }
@@ -540,33 +596,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getInstanceConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getProgressFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getCancelTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -579,34 +633,47 @@ public Builder mergeFrom(
 
     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 instanceConfigBuilder_ != null || instanceConfig_ != null; } /** + * + * *
      * 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.
      * 
@@ -627,6 +694,8 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo return this; } /** + * + * *
      * The desired instance config after updating.
      * 
@@ -645,6 +714,8 @@ public Builder setInstanceConfig( return this; } /** + * + * *
      * The desired instance config after updating.
      * 
@@ -655,7 +726,9 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance if (instanceConfigBuilder_ == null) { if (instanceConfig_ != null) { instanceConfig_ = - com.google.spanner.admin.instance.v1.InstanceConfig.newBuilder(instanceConfig_).mergeFrom(value).buildPartial(); + com.google.spanner.admin.instance.v1.InstanceConfig.newBuilder(instanceConfig_) + .mergeFrom(value) + .buildPartial(); } else { instanceConfig_ = value; } @@ -667,6 +740,8 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance return this; } /** + * + * *
      * The desired instance config after updating.
      * 
@@ -685,6 +760,8 @@ public Builder clearInstanceConfig() { return this; } /** + * + * *
      * The desired instance config after updating.
      * 
@@ -692,26 +769,32 @@ public Builder clearInstanceConfig() { * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; */ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceConfigBuilder() { - + onChanged(); 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.
      * 
@@ -719,14 +802,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_; @@ -734,8 +820,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]
@@ -743,12 +834,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 progressBuilder_ != null || progress_ != null; } /** + * + * *
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -756,16 +850,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]
@@ -788,6 +887,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]
@@ -808,6 +909,8 @@ public Builder setProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -820,7 +923,9 @@ public Builder mergeProgress(com.google.spanner.admin.instance.v1.OperationProgr
       if (progressBuilder_ == null) {
         if (progress_ != null) {
           progress_ =
-            com.google.spanner.admin.instance.v1.OperationProgress.newBuilder(progress_).mergeFrom(value).buildPartial();
+              com.google.spanner.admin.instance.v1.OperationProgress.newBuilder(progress_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           progress_ = value;
         }
@@ -832,6 +937,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]
@@ -852,6 +959,8 @@ public Builder clearProgress() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -861,11 +970,13 @@ public Builder clearProgress() {
      * .google.spanner.admin.instance.v1.OperationProgress progress = 2;
      */
     public com.google.spanner.admin.instance.v1.OperationProgress.Builder getProgressBuilder() {
-      
+
       onChanged();
       return getProgressFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -878,11 +989,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]
@@ -892,14 +1006,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_;
@@ -907,34 +1024,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 cancelTimeBuilder_ != null || cancelTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -955,14 +1085,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(); onChanged(); @@ -973,6 +1104,8 @@ public Builder setCancelTime( return this; } /** + * + * *
      * The time at which this operation was cancelled.
      * 
@@ -983,7 +1116,7 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { if (cancelTimeBuilder_ == null) { if (cancelTime_ != null) { cancelTime_ = - com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial(); } else { cancelTime_ = value; } @@ -995,6 +1128,8 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this operation was cancelled.
      * 
@@ -1013,6 +1148,8 @@ public Builder clearCancelTime() { return this; } /** + * + * *
      * The time at which this operation was cancelled.
      * 
@@ -1020,11 +1157,13 @@ public Builder clearCancelTime() { * .google.protobuf.Timestamp cancel_time = 3; */ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() { - + onChanged(); return getCancelTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which this operation was cancelled.
      * 
@@ -1035,11 +1174,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.
      * 
@@ -1047,21 +1189,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); } @@ -1071,41 +1216,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; @@ -1117,9 +1264,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 71% 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 a03b907db63..57b52db08af 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,7 +126,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]; + * */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { @@ -104,6 +138,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC 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 +149,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 +159,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 +170,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 +180,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 +191,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 +202,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; 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 @@ -171,6 +219,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,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()); } @@ -203,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 (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 +267,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 +304,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 +416,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();
@@ -414,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();
     }
 
@@ -435,7 +485,8 @@ 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);
+      com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest result =
+          new com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest(this);
       if (instanceConfigBuilder_ == null) {
         result.instanceConfig_ = instanceConfig_;
       } else {
@@ -455,46 +506,50 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest buildPar
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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());
       }
@@ -530,31 +585,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getInstanceConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 24: {
-              validateOnly_ = input.readBool();
+                break;
+              } // case 18
+            case 24:
+              {
+                validateOnly_ = input.readBool();
 
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -567,8 +622,13 @@ public Builder mergeFrom(
 
     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
@@ -578,13 +638,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 instanceConfigBuilder_ != null || instanceConfig_ != null; } /** + * + * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -594,17 +659,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
@@ -614,7 +686,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) { @@ -630,6 +704,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
@@ -639,7 +715,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) { @@ -653,6 +731,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
@@ -662,13 +742,17 @@ 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 (instanceConfig_ != null) { instanceConfig_ = - com.google.spanner.admin.instance.v1.InstanceConfig.newBuilder(instanceConfig_).mergeFrom(value).buildPartial(); + com.google.spanner.admin.instance.v1.InstanceConfig.newBuilder(instanceConfig_) + .mergeFrom(value) + .buildPartial(); } else { instanceConfig_ = value; } @@ -680,6 +764,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
@@ -689,7 +775,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() { if (instanceConfigBuilder_ == null) { @@ -703,6 +791,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
@@ -712,14 +802,18 @@ 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() { - + onChanged(); return getInstanceConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -729,17 +823,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
@@ -749,17 +849,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_; @@ -767,8 +872,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
@@ -778,13 +888,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -794,17 +908,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
@@ -814,7 +934,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) { @@ -830,6 +951,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
@@ -839,10 +962,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(); onChanged(); @@ -853,6 +976,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -862,13 +987,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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -880,6 +1006,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
@@ -889,7 +1017,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() { if (updateMaskBuilder_ == null) { @@ -903,6 +1032,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -912,14 +1043,17 @@ 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() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -929,17 +1063,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
@@ -949,30 +1087,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 @@ -980,39 +1125,45 @@ 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; 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() { - + validateOnly_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1022,41 +1173,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; @@ -1068,9 +1221,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 74% 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 f194e3fc708..53bc949f98f 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.
    * 
@@ -89,6 +117,8 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild 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 +126,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 +134,8 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time at which
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -110,6 +143,7 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ @java.lang.Override @@ -117,6 +151,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 +169,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 +178,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 +186,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 +195,7 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return The cancelTime. */ @java.lang.Override @@ -161,6 +203,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 +221,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 +236,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 +251,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 +265,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +277,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (instance_ != null) { output.writeMessage(1, getInstance()); } @@ -248,20 +300,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 +319,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 +376,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 +481,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();
@@ -486,9 +538,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
@@ -507,7 +559,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);
+      com.google.spanner.admin.instance.v1.UpdateInstanceMetadata result =
+          new com.google.spanner.admin.instance.v1.UpdateInstanceMetadata(this);
       if (instanceBuilder_ == null) {
         result.instance_ = instance_;
       } else {
@@ -536,38 +589,39 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceMetadata buildPartial(
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -575,7 +629,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());
       }
@@ -614,40 +669,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getInstanceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getCancelTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -660,34 +712,47 @@ public Builder mergeFrom(
 
     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 instanceBuilder_ != null || instance_ != null; } /** + * + * *
      * 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.
      * 
@@ -708,6 +773,8 @@ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) return this; } /** + * + * *
      * The desired end state of the update.
      * 
@@ -726,6 +793,8 @@ public Builder setInstance( return this; } /** + * + * *
      * The desired end state of the update.
      * 
@@ -736,7 +805,9 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value if (instanceBuilder_ == null) { if (instance_ != null) { instance_ = - com.google.spanner.admin.instance.v1.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); + com.google.spanner.admin.instance.v1.Instance.newBuilder(instance_) + .mergeFrom(value) + .buildPartial(); } else { instance_ = value; } @@ -748,6 +819,8 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value return this; } /** + * + * *
      * The desired end state of the update.
      * 
@@ -766,6 +839,8 @@ public Builder clearInstance() { return this; } /** + * + * *
      * The desired end state of the update.
      * 
@@ -773,11 +848,13 @@ public Builder clearInstance() { * .google.spanner.admin.instance.v1.Instance instance = 1; */ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder() { - + onChanged(); return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * The desired end state of the update.
      * 
@@ -788,11 +865,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.
      * 
@@ -800,14 +880,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_; @@ -815,8 +898,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]
@@ -824,12 +912,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 startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -837,6 +928,7 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -847,6 +939,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -869,6 +963,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -877,8 +973,7 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 2;
      */
-    public Builder setStartTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
         onChanged();
@@ -889,6 +984,8 @@ public Builder setStartTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -901,7 +998,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
         if (startTime_ != null) {
           startTime_ =
-            com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial();
         } else {
           startTime_ = value;
         }
@@ -913,6 +1010,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -933,6 +1032,8 @@ public Builder clearStartTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -942,11 +1043,13 @@ public Builder clearStartTime() {
      * .google.protobuf.Timestamp start_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
-      
+
       onChanged();
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -959,11 +1062,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+        return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -973,14 +1077,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_;
@@ -988,8 +1095,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
@@ -997,12 +1109,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return cancelTimeBuilder_ != null || 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
@@ -1010,16 +1125,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
@@ -1042,6 +1162,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
@@ -1050,8 +1172,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();
         onChanged();
@@ -1062,6 +1183,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
@@ -1074,7 +1197,7 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
         if (cancelTime_ != null) {
           cancelTime_ =
-            com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(cancelTime_).mergeFrom(value).buildPartial();
         } else {
           cancelTime_ = value;
         }
@@ -1086,6 +1209,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
@@ -1106,6 +1231,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
@@ -1115,11 +1242,13 @@ public Builder clearCancelTime() {
      * .google.protobuf.Timestamp cancel_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
-      
+
       onChanged();
       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
@@ -1132,11 +1261,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
@@ -1146,14 +1278,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_;
@@ -1161,24 +1296,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 endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * 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() { @@ -1189,6 +1333,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1209,14 +1355,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(); onChanged(); @@ -1227,6 +1374,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1237,7 +1386,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1249,6 +1398,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1267,6 +1418,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1274,11 +1427,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 4; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1289,11 +1444,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.
      * 
@@ -1301,21 +1457,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); } @@ -1325,12 +1484,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(); } @@ -1339,27 +1498,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; @@ -1374,6 +1533,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 ced3d598eee..07297d147fe 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,7 +120,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]; + * */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { @@ -98,6 +132,8 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild 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 +142,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 +152,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 +162,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 +172,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 +182,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 +191,7 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,8 +203,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (instance_ != null) { output.writeMessage(1, getInstance()); } @@ -175,12 +220,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 +233,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 +274,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 +379,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();
@@ -375,9 +424,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
@@ -396,7 +445,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);
+      com.google.spanner.admin.instance.v1.UpdateInstanceRequest result =
+          new com.google.spanner.admin.instance.v1.UpdateInstanceRequest(this);
       if (instanceBuilder_ == null) {
         result.instance_ = instance_;
       } else {
@@ -415,38 +465,39 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -454,7 +505,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());
       }
@@ -487,26 +539,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getInstanceFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getFieldMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getFieldMaskFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -519,8 +570,13 @@ public Builder mergeFrom(
 
     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
@@ -528,13 +584,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 instanceBuilder_ != null || instance_ != null; } /** + * + * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -542,17 +603,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
@@ -560,7 +628,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) { @@ -576,6 +646,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
@@ -583,7 +655,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) { @@ -597,6 +671,8 @@ public Builder setInstance( return this; } /** + * + * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -604,13 +680,17 @@ 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 (instance_ != null) { instance_ = - com.google.spanner.admin.instance.v1.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); + com.google.spanner.admin.instance.v1.Instance.newBuilder(instance_) + .mergeFrom(value) + .buildPartial(); } else { instance_ = value; } @@ -622,6 +702,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
@@ -629,7 +711,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() { if (instanceBuilder_ == null) { @@ -643,6 +727,8 @@ public Builder clearInstance() { return this; } /** + * + * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -650,14 +736,18 @@ 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() { - + onChanged(); return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -665,17 +755,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
@@ -683,17 +778,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_; @@ -701,8 +801,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.
@@ -711,13 +816,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 fieldMaskBuilder_ != null || fieldMask_ != null; } /** + * + * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -726,7 +835,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() { @@ -737,6 +848,8 @@ public com.google.protobuf.FieldMask getFieldMask() { } } /** + * + * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -745,7 +858,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) { @@ -761,6 +875,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.
@@ -769,10 +885,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(); onChanged(); @@ -783,6 +899,8 @@ public Builder setFieldMask( return this; } /** + * + * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -791,13 +909,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 (fieldMask_ != null) { fieldMask_ = - com.google.protobuf.FieldMask.newBuilder(fieldMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(fieldMask_).mergeFrom(value).buildPartial(); } else { fieldMask_ = value; } @@ -809,6 +928,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.
@@ -817,7 +938,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() { if (fieldMaskBuilder_ == null) { @@ -831,6 +953,8 @@ public Builder clearFieldMask() { return this; } /** + * + * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -839,14 +963,17 @@ 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() { - + onChanged(); return getFieldMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -855,17 +982,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.
@@ -874,24 +1003,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); } @@ -901,12 +1034,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(); } @@ -915,27 +1048,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; @@ -950,6 +1083,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 68% 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 1d7aabe717c..5dd215c6aa9 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,61 +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; /** + * + * *
  * 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; 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 @@ -64,29 +88,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 { @@ -97,11 +123,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 @@ -109,18 +138,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.
    * 
@@ -135,6 +171,8 @@ public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() { public static final int SESSION_COUNT_FIELD_NUMBER = 3; 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
@@ -144,6 +182,7 @@ public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() {
    * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sessionCount. */ @java.lang.Override @@ -152,6 +191,7 @@ public int getSessionCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,8 +203,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -187,12 +226,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; @@ -202,22 +239,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; } @@ -242,130 +277,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(); @@ -383,9 +424,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 @@ -404,7 +445,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); + com.google.spanner.v1.BatchCreateSessionsRequest result = + new com.google.spanner.v1.BatchCreateSessionsRequest(this); result.database_ = database_; if (sessionTemplateBuilder_ == null) { result.sessionTemplate_ = sessionTemplate_; @@ -420,38 +462,39 @@ public com.google.spanner.v1.BatchCreateSessionsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -459,7 +502,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_; onChanged(); @@ -496,29 +540,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - database_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getSessionTemplateFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 24: { - sessionCount_ = input.readInt32(); - - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + database_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getSessionTemplateFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 24: + { + sessionCount_ = input.readInt32(); + + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -531,18 +577,22 @@ public Builder mergeFrom( 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; @@ -551,20 +601,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 { @@ -572,54 +625,67 @@ 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) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); 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) = { ... } + * + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -627,34 +693,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 sessionTemplateBuilder_ != null || sessionTemplate_ != null; } /** + * + * *
      * 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.
      * 
@@ -675,14 +754,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(); onChanged(); @@ -693,6 +773,8 @@ public Builder setSessionTemplate( return this; } /** + * + * *
      * Parameters to be applied to each created session.
      * 
@@ -703,7 +785,9 @@ public Builder mergeSessionTemplate(com.google.spanner.v1.Session value) { if (sessionTemplateBuilder_ == null) { if (sessionTemplate_ != null) { sessionTemplate_ = - com.google.spanner.v1.Session.newBuilder(sessionTemplate_).mergeFrom(value).buildPartial(); + com.google.spanner.v1.Session.newBuilder(sessionTemplate_) + .mergeFrom(value) + .buildPartial(); } else { sessionTemplate_ = value; } @@ -715,6 +799,8 @@ public Builder mergeSessionTemplate(com.google.spanner.v1.Session value) { return this; } /** + * + * *
      * Parameters to be applied to each created session.
      * 
@@ -733,6 +819,8 @@ public Builder clearSessionTemplate() { return this; } /** + * + * *
      * Parameters to be applied to each created session.
      * 
@@ -740,11 +828,13 @@ public Builder clearSessionTemplate() { * .google.spanner.v1.Session session_template = 2; */ public com.google.spanner.v1.Session.Builder getSessionTemplateBuilder() { - + onChanged(); return getSessionTemplateFieldBuilder().getBuilder(); } /** + * + * *
      * Parameters to be applied to each created session.
      * 
@@ -755,11 +845,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.
      * 
@@ -767,21 +860,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
@@ -791,6 +889,7 @@ public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() {
      * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sessionCount. */ @java.lang.Override @@ -798,6 +897,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
@@ -807,16 +908,19 @@ 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; 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
@@ -826,17 +930,18 @@ public Builder setSessionCount(int value) {
      * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSessionCount() { - + sessionCount_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -846,12 +951,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(); } @@ -860,27 +965,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; @@ -895,6 +1000,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 70% 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 d6e5aec6e59..d2fede801e1 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,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/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; private java.util.List session_; /** + * + * *
    * The freshly created sessions.
    * 
@@ -62,6 +83,8 @@ public java.util.List getSessionList() { return session_; } /** + * + * *
    * The freshly created sessions.
    * 
@@ -69,11 +92,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.
    * 
@@ -85,6 +110,8 @@ public int getSessionCount() { return session_.size(); } /** + * + * *
    * The freshly created sessions.
    * 
@@ -96,6 +123,8 @@ public com.google.spanner.v1.Session getSession(int index) { return session_.get(index); } /** + * + * *
    * The freshly created sessions.
    * 
@@ -103,12 +132,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; @@ -120,8 +149,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < session_.size(); i++) { output.writeMessage(1, session_.get(i)); } @@ -135,8 +163,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; @@ -146,15 +173,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -176,129 +203,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(); @@ -313,9 +346,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 @@ -334,7 +367,8 @@ 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); int from_bitField0_ = bitField0_; if (sessionBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -353,38 +387,39 @@ public com.google.spanner.v1.BatchCreateSessionsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -392,7 +427,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()) { @@ -411,9 +447,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_); } @@ -445,25 +482,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) { @@ -473,21 +510,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.
      * 
@@ -502,6 +546,8 @@ public java.util.List getSessionList() { } } /** + * + * *
      * The freshly created sessions.
      * 
@@ -516,6 +562,8 @@ public int getSessionCount() { } } /** + * + * *
      * The freshly created sessions.
      * 
@@ -530,14 +578,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(); @@ -551,14 +600,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()); @@ -569,6 +619,8 @@ public Builder setSession( return this; } /** + * + * *
      * The freshly created sessions.
      * 
@@ -589,14 +641,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(); @@ -610,14 +663,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()); @@ -628,14 +682,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()); @@ -646,6 +701,8 @@ public Builder addSession( return this; } /** + * + * *
      * The freshly created sessions.
      * 
@@ -656,8 +713,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); @@ -665,6 +721,8 @@ public Builder addAllSession( return this; } /** + * + * *
      * The freshly created sessions.
      * 
@@ -682,6 +740,8 @@ public Builder clearSession() { return this; } /** + * + * *
      * The freshly created sessions.
      * 
@@ -699,39 +759,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 { @@ -739,6 +804,8 @@ public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder( } } /** + * + * *
      * The freshly created sessions.
      * 
@@ -746,49 +813,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); } @@ -798,12 +870,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(); } @@ -812,27 +884,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; @@ -847,6 +919,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 66% 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 1e3cdd1e713..e7a7dde41f9 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,61 +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; /** + * + * *
  * 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; 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 @@ -64,29 +88,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 { @@ -97,11 +123,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 @@ -109,23 +140,34 @@ 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() { @@ -135,6 +177,8 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() { 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
@@ -144,6 +188,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 @@ -151,6 +196,8 @@ public boolean hasRequestOptions() { return requestOptions_ != null; } /** + * + * *
    * Common options for this request.
    * Priority is ignored for this request. Setting the priority in this
@@ -160,13 +207,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
@@ -183,6 +235,7 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -194,8 +247,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -218,12 +270,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;
@@ -233,24 +283,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;
@@ -278,130 +326,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(); @@ -423,9 +477,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 @@ -444,7 +498,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); + com.google.spanner.v1.BeginTransactionRequest result = + new com.google.spanner.v1.BeginTransactionRequest(this); result.session_ = session_; if (optionsBuilder_ == null) { result.options_ = options_; @@ -464,38 +519,39 @@ public com.google.spanner.v1.BeginTransactionRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -540,31 +596,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - session_ = input.readStringRequireUtf8(); + case 10: + { + session_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - input.readMessage( - getOptionsFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getOptionsFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - input.readMessage( - getRequestOptionsFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -577,18 +633,22 @@ public Builder mergeFrom( 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; @@ -597,20 +657,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 { @@ -618,54 +681,67 @@ 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) { + public Builder setSession(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + session_ = value; 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() { - + session_ = getDefaultInstance().getSession(); 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) = { ... } + * + * * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes( - com.google.protobuf.ByteString value) { + public Builder setSessionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + session_ = value; onChanged(); return this; @@ -673,39 +749,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 optionsBuilder_ != null || 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. */ 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) { @@ -721,14 +816,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(); onChanged(); @@ -739,17 +837,23 @@ 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 (options_ != null) { options_ = - com.google.spanner.v1.TransactionOptions.newBuilder(options_).mergeFrom(value).buildPartial(); + com.google.spanner.v1.TransactionOptions.newBuilder(options_) + .mergeFrom(value) + .buildPartial(); } else { options_ = value; } @@ -761,11 +865,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() { if (optionsBuilder_ == null) { @@ -779,48 +887,64 @@ 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() { - + onChanged(); 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_; @@ -828,8 +952,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
@@ -839,12 +968,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 requestOptionsBuilder_ != null || requestOptions_ != null; } /** + * + * *
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -854,16 +986,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
@@ -888,6 +1025,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
@@ -898,8 +1037,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();
         onChanged();
@@ -910,6 +1048,8 @@ public Builder setRequestOptions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -924,7 +1064,9 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) {
       if (requestOptionsBuilder_ == null) {
         if (requestOptions_ != null) {
           requestOptions_ =
-            com.google.spanner.v1.RequestOptions.newBuilder(requestOptions_).mergeFrom(value).buildPartial();
+              com.google.spanner.v1.RequestOptions.newBuilder(requestOptions_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           requestOptions_ = value;
         }
@@ -936,6 +1078,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
@@ -958,6 +1102,8 @@ public Builder clearRequestOptions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -969,11 +1115,13 @@ public Builder clearRequestOptions() {
      * .google.spanner.v1.RequestOptions request_options = 3;
      */
     public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() {
-      
+
       onChanged();
       return getRequestOptionsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -988,11 +1136,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
@@ -1004,21 +1155,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);
     }
 
@@ -1028,12 +1182,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();
   }
@@ -1042,27 +1196,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;
@@ -1077,6 +1231,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 76%
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 0bd3c2da8d2..e9540ec3fc5 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,31 +95,39 @@ 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; 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 @@ -106,29 +136,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 { @@ -138,11 +170,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 @@ -150,11 +185,14 @@ public boolean hasTransactionId() { return transactionCase_ == 2; } /** + * + * *
    * Commit a previously-started transaction.
    * 
* * bytes transaction_id = 2; + * * @return The transactionId. */ @java.lang.Override @@ -167,6 +205,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
@@ -180,6 +220,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 @@ -187,6 +228,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
@@ -200,16 +243,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
@@ -227,7 +273,7 @@ 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();
   }
@@ -235,6 +281,8 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseTransaction
   public static final int MUTATIONS_FIELD_NUMBER = 4;
   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
@@ -248,6 +296,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
@@ -257,11 +307,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
@@ -275,6 +327,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
@@ -288,6 +342,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
@@ -297,14 +353,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_;
   /**
+   *
+   *
    * 
    * If `true`, then statistics related to the transaction will be included in
    * the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats]. Default value is
@@ -312,6 +369,7 @@ public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(
    * 
* * bool return_commit_stats = 5; + * * @return The returnCommitStats. */ @java.lang.Override @@ -322,11 +380,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 @@ -334,18 +395,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.
    * 
@@ -358,6 +426,7 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -369,14 +438,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_); @@ -403,25 +470,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; @@ -431,33 +496,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: @@ -480,8 +539,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(); @@ -503,130 +561,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 +719,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 @@ -714,38 +777,39 @@ public com.google.spanner.v1.CommitRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -776,9 +840,10 @@ public Builder mergeFrom(com.google.spanner.v1.CommitRequest other) { mutationsBuilder_ = null; mutations_ = other.mutations_; bitField0_ = (bitField0_ & ~0x00000001); - mutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMutationsFieldBuilder() : null; + mutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMutationsFieldBuilder() + : null; } else { mutationsBuilder_.addAllMessages(other.mutations_); } @@ -791,17 +856,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(); @@ -829,54 +897,56 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - session_ = input.readStringRequireUtf8(); - - 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(); - - break; - } // case 40 - case 50: { - input.readMessage( - getRequestOptionsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + session_ = input.readStringRequireUtf8(); + + 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(); + + break; + } // case 40 + case 50: + { + input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -886,12 +956,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() { @@ -905,18 +975,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; @@ -925,20 +999,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 { @@ -946,76 +1023,95 @@ 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) { + public Builder setSession(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + session_ = value; 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() { - + session_ = getDefaultInstance().getSession(); 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) = { ... } + * + * * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes( - com.google.protobuf.ByteString value) { + public Builder setSessionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + session_ = value; onChanged(); return this; } /** + * + * *
      * 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() { @@ -1025,29 +1121,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(); - } - transactionCase_ = 2; + 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() { @@ -1060,8 +1162,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
@@ -1075,6 +1182,7 @@ public Builder clearTransactionId() {
      * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; + * * @return Whether the singleUseTransaction field is set. */ @java.lang.Override @@ -1082,6 +1190,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
@@ -1095,6 +1205,7 @@ public boolean hasSingleUseTransaction() {
      * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; + * * @return The singleUseTransaction. */ @java.lang.Override @@ -1112,6 +1223,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
@@ -1140,6 +1253,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
@@ -1166,6 +1281,8 @@ public Builder setSingleUseTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1182,10 +1299,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;
         }
@@ -1201,6 +1321,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
@@ -1232,6 +1354,8 @@ public Builder clearSingleUseTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1250,6 +1374,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
@@ -1276,6 +1402,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
@@ -1291,37 +1419,49 @@ 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());
         transaction_ = null;
       }
       transactionCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return singleUseTransactionBuilder_;
     }
 
     private java.util.List mutations_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureMutationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         mutations_ = new java.util.ArrayList(mutations_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.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
@@ -1338,6 +1478,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
@@ -1354,6 +1496,8 @@ public int getMutationsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1370,6 +1514,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
@@ -1378,8 +1524,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();
@@ -1393,6 +1538,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
@@ -1401,8 +1548,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());
@@ -1413,6 +1559,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
@@ -1435,6 +1583,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
@@ -1443,8 +1593,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();
@@ -1458,6 +1607,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
@@ -1466,8 +1617,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());
@@ -1478,6 +1628,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
@@ -1486,8 +1638,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());
@@ -1498,6 +1649,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
@@ -1510,8 +1663,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);
@@ -1519,6 +1671,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
@@ -1538,6 +1692,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
@@ -1557,6 +1713,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
@@ -1565,11 +1723,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
@@ -1578,14 +1737,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
@@ -1594,8 +1755,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 {
@@ -1603,6 +1764,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
@@ -1612,10 +1775,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
@@ -1624,12 +1789,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
@@ -1638,27 +1804,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_ & 0x00000001) != 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_ & 0x00000001) != 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
@@ -1666,6 +1836,7 @@ public com.google.spanner.v1.Mutation.Builder addMutationsBuilder(
      * 
* * bool return_commit_stats = 5; + * * @return The returnCommitStats. */ @java.lang.Override @@ -1673,6 +1844,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
@@ -1680,16 +1853,19 @@ 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; 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
@@ -1697,10 +1873,11 @@ public Builder setReturnCommitStats(boolean value) {
      * 
* * bool return_commit_stats = 5; + * * @return This builder for chaining. */ public Builder clearReturnCommitStats() { - + returnCommitStats_ = false; onChanged(); return this; @@ -1708,34 +1885,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 requestOptionsBuilder_ != null || requestOptions_ != null; } /** + * + * *
      * 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.
      * 
@@ -1756,14 +1946,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(); onChanged(); @@ -1774,6 +1965,8 @@ public Builder setRequestOptions( return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -1784,7 +1977,9 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { if (requestOptions_ != null) { requestOptions_ = - com.google.spanner.v1.RequestOptions.newBuilder(requestOptions_).mergeFrom(value).buildPartial(); + com.google.spanner.v1.RequestOptions.newBuilder(requestOptions_) + .mergeFrom(value) + .buildPartial(); } else { requestOptions_ = value; } @@ -1796,6 +1991,8 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -1814,6 +2011,8 @@ public Builder clearRequestOptions() { return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -1821,11 +2020,13 @@ public Builder clearRequestOptions() { * .google.spanner.v1.RequestOptions request_options = 6; */ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { - + onChanged(); return getRequestOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Common options for this request.
      * 
@@ -1836,11 +2037,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.
      * 
@@ -1848,21 +2052,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); } @@ -1872,12 +2079,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(); } @@ -1886,27 +2093,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; @@ -1921,6 +2128,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 72% 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 72188c56fb4..25a1335dd70 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_; /** + * + * *
      * 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,7 +386,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); + com.google.spanner.v1.CommitResponse.CommitStats result = + new com.google.spanner.v1.CommitResponse.CommitStats(this); result.mutationCount_ = mutationCount_; onBuilt(); return result; @@ -362,38 +397,41 @@ public com.google.spanner.v1.CommitResponse.CommitStats 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.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; @@ -401,7 +439,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()); } @@ -431,17 +470,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - mutationCount_ = input.readInt64(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + mutationCount_ = input.readInt64(); + + 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) { @@ -452,8 +493,10 @@ public Builder mergeFrom( return this; } - 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
@@ -465,6 +508,7 @@ public Builder mergeFrom(
        * 
* * int64 mutation_count = 1; + * * @return The mutationCount. */ @java.lang.Override @@ -472,6 +516,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
@@ -483,16 +529,19 @@ 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; onChanged(); return this; } /** + * + * *
        * The total number of mutations for the transaction. Knowing the
        * `mutation_count` value can help you maximize the number of mutations
@@ -504,14 +553,16 @@ public Builder setMutationCount(long value) {
        * 
* * int64 mutation_count = 1; + * * @return This builder for chaining. */ public Builder clearMutationCount() { - + mutationCount_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -524,12 +575,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(); } @@ -538,27 +589,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; @@ -573,17 +625,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 @@ -591,18 +645,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.
    * 
@@ -617,6 +678,8 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { 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
@@ -624,6 +687,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 @@ -631,6 +695,8 @@ public boolean hasCommitStats() { return commitStats_ != null; } /** + * + * *
    * The statistics about this Commit. Not returned by default.
    * For more information, see
@@ -638,13 +704,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
@@ -659,6 +730,7 @@ public com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder getCommitStatsO
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -670,8 +742,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -688,12 +759,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;
@@ -703,7 +772,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);
@@ -712,13 +781,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;
@@ -744,130 +811,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(); @@ -887,9 +959,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 @@ -927,38 +999,39 @@ public com.google.spanner.v1.CommitResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -999,26 +1072,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCommitTimestampFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getCommitTimestampFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getCommitStatsFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getCommitStatsFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1031,34 +1103,47 @@ public Builder mergeFrom( 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 commitTimestampBuilder_ != null || commitTimestamp_ != null; } /** + * + * *
      * 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.
      * 
@@ -1079,14 +1164,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(); onChanged(); @@ -1097,6 +1183,8 @@ public Builder setCommitTimestamp( return this; } /** + * + * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1107,7 +1195,9 @@ public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) { if (commitTimestampBuilder_ == null) { if (commitTimestamp_ != null) { commitTimestamp_ = - com.google.protobuf.Timestamp.newBuilder(commitTimestamp_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(commitTimestamp_) + .mergeFrom(value) + .buildPartial(); } else { commitTimestamp_ = value; } @@ -1119,6 +1209,8 @@ public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1137,6 +1229,8 @@ public Builder clearCommitTimestamp() { return this; } /** + * + * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1144,11 +1238,13 @@ public Builder clearCommitTimestamp() { * .google.protobuf.Timestamp commit_timestamp = 1; */ public com.google.protobuf.Timestamp.Builder getCommitTimestampBuilder() { - + onChanged(); return getCommitTimestampFieldBuilder().getBuilder(); } /** + * + * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1159,11 +1255,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.
      * 
@@ -1171,14 +1270,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_; @@ -1186,8 +1288,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
@@ -1195,12 +1302,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 commitStatsBuilder_ != null || commitStats_ != null; } /** + * + * *
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1208,16 +1318,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
@@ -1240,6 +1355,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
@@ -1260,6 +1377,8 @@ public Builder setCommitStats(
       return this;
     }
     /**
+     *
+     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1272,7 +1391,9 @@ public Builder mergeCommitStats(com.google.spanner.v1.CommitResponse.CommitStats
       if (commitStatsBuilder_ == null) {
         if (commitStats_ != null) {
           commitStats_ =
-            com.google.spanner.v1.CommitResponse.CommitStats.newBuilder(commitStats_).mergeFrom(value).buildPartial();
+              com.google.spanner.v1.CommitResponse.CommitStats.newBuilder(commitStats_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           commitStats_ = value;
         }
@@ -1284,6 +1405,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
@@ -1304,6 +1427,8 @@ public Builder clearCommitStats() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1313,11 +1438,13 @@ public Builder clearCommitStats() {
      * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;
      */
     public com.google.spanner.v1.CommitResponse.CommitStats.Builder getCommitStatsBuilder() {
-      
+
       onChanged();
       return getCommitStatsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1330,11 +1457,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
@@ -1344,21 +1474,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);
     }
 
@@ -1368,12 +1501,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();
   }
@@ -1382,27 +1515,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;
@@ -1417,6 +1550,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..8aa46a48cd7
--- /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\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/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 66d0c4a3294..84a46ed52c6 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,61 +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;
 
 /**
+ *
+ *
  * 
  * 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; 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 @@ -64,29 +88,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 { @@ -97,11 +123,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 @@ -109,11 +138,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 @@ -121,6 +153,8 @@ public com.google.spanner.v1.Session getSession() { return session_ == null ? com.google.spanner.v1.Session.getDefaultInstance() : session_; } /** + * + * *
    * Required. The session to create.
    * 
@@ -133,6 +167,7 @@ public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -144,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -165,8 +199,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; @@ -176,19 +209,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; @@ -212,130 +244,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 +389,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,7 +410,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); + com.google.spanner.v1.CreateSessionRequest result = + new com.google.spanner.v1.CreateSessionRequest(this); result.database_ = database_; if (sessionBuilder_ == null) { result.session_ = session_; @@ -387,38 +426,39 @@ public com.google.spanner.v1.CreateSessionRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -460,24 +500,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - database_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getSessionFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + database_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getSessionFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -490,18 +531,22 @@ public Builder mergeFrom( 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; @@ -510,20 +555,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 { @@ -531,54 +579,67 @@ 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) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); 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) = { ... } + * + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -586,24 +647,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 sessionBuilder_ != null || session_ != null; } /** + * + * *
      * 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() { @@ -614,11 +686,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) { @@ -634,14 +709,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(); onChanged(); @@ -652,17 +729,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 (session_ != null) { session_ = - com.google.spanner.v1.Session.newBuilder(session_).mergeFrom(value).buildPartial(); + com.google.spanner.v1.Session.newBuilder(session_).mergeFrom(value).buildPartial(); } else { session_ = value; } @@ -674,11 +754,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() { if (sessionBuilder_ == null) { @@ -692,55 +775,66 @@ 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() { - + onChanged(); 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); } @@ -750,12 +844,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(); } @@ -764,27 +858,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; @@ -799,6 +893,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 6e1ef77239e..9d407873508 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,61 +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; /** + * + * *
  * 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; 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 @@ -64,29 +88,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 { @@ -95,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,8 +133,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,15 +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.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; } @@ -158,130 +184,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(); @@ -291,9 +323,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 @@ -312,7 +344,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); + com.google.spanner.v1.DeleteSessionRequest result = + new com.google.spanner.v1.DeleteSessionRequest(this); result.name_ = name_; onBuilt(); return result; @@ -322,38 +355,39 @@ public com.google.spanner.v1.DeleteSessionRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -392,17 +426,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -415,18 +451,22 @@ public Builder mergeFrom( 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; @@ -435,20 +475,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 { @@ -456,61 +499,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -520,12 +576,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(); } @@ -534,27 +590,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; @@ -569,6 +625,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 674f0bb1121..1cf5bf18dce 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
@@ -186,11 +222,13 @@ boolean containsParamTypes(
      */
 
     /* 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
@@ -203,75 +241,79 @@ 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; private volatile java.lang.Object sql_; /** + * + * *
      * Required. The DML string.
      * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sql. */ @java.lang.Override @@ -280,29 +322,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 { @@ -313,6 +355,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
@@ -325,6 +369,7 @@ public java.lang.String getSql() {
      * 
* * .google.protobuf.Struct params = 2; + * * @return Whether the params field is set. */ @java.lang.Override @@ -332,6 +377,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
@@ -344,6 +391,7 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 2; + * * @return The params. */ @java.lang.Override @@ -351,6 +399,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
@@ -370,21 +420,24 @@ 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());
-    }
-    private com.google.protobuf.MapField<
-        java.lang.String, com.google.spanner.v1.Type> paramTypes_;
+                  .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());
+    }
+
+    private com.google.protobuf.MapField paramTypes_;
+
     private com.google.protobuf.MapField
-    internalGetParamTypes() {
+        internalGetParamTypes() {
       if (paramTypes_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             ParamTypesDefaultEntryHolder.defaultEntry);
@@ -396,6 +449,8 @@ 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,22 +463,22 @@ 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
@@ -437,11 +492,12 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
     @java.lang.Override
-
     public java.util.Map getParamTypesMap() {
       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
@@ -455,16 +511,18 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
     @java.lang.Override
-
     public com.google.spanner.v1.Type getParamTypesOrDefault(
-        java.lang.String key,
-        com.google.spanner.v1.Type defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String 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
@@ -478,10 +536,10 @@ public 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)) {
@@ -491,6 +549,7 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -502,20 +561,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);
     }
 
@@ -529,18 +583,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;
@@ -550,22 +603,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;
     }
@@ -593,87 +644,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
@@ -683,61 +741,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(); @@ -754,9 +812,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 @@ -775,7 +833,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); + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement result = + new com.google.spanner.v1.ExecuteBatchDmlRequest.Statement(this); int from_bitField0_ = bitField0_; result.sql_ = sql_; if (paramsBuilder_ == null) { @@ -793,38 +852,41 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement 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.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; @@ -832,7 +894,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_; onChanged(); @@ -840,8 +903,7 @@ public Builder mergeFrom(com.google.spanner.v1.ExecuteBatchDmlRequest.Statement if (other.hasParams()) { mergeParams(other.getParams()); } - internalGetMutableParamTypes().mergeFrom( - other.internalGetParamTypes()); + internalGetMutableParamTypes().mergeFrom(other.internalGetParamTypes()); this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -868,32 +930,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - sql_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getParamsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - com.google.protobuf.MapEntry - paramTypes__ = input.readMessage( - ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableParamTypes().getMutableMap().put( - paramTypes__.getKey(), paramTypes__.getValue()); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + sql_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + com.google.protobuf.MapEntry + paramTypes__ = + input.readMessage( + ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableParamTypes() + .getMutableMap() + .put(paramTypes__.getKey(), paramTypes__.getValue()); + 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) { @@ -903,22 +970,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; @@ -927,20 +997,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 { @@ -948,54 +1019,61 @@ 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) { + public Builder setSql(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sql_ = value; onChanged(); return this; } /** + * + * *
        * Required. The DML string.
        * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSql() { - + sql_ = getDefaultInstance().getSql(); onChanged(); 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) { + public Builder setSqlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sql_ = value; onChanged(); return this; @@ -1003,8 +1081,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
@@ -1017,12 +1100,15 @@ public Builder setSqlBytes(
        * 
* * .google.protobuf.Struct params = 2; + * * @return Whether the params field is set. */ public boolean hasParams() { return paramsBuilder_ != null || params_ != null; } /** + * + * *
        * Parameter names and values that bind to placeholders in the DML string.
        * A parameter placeholder consists of the `@` character followed by the
@@ -1035,6 +1121,7 @@ public boolean hasParams() {
        * 
* * .google.protobuf.Struct params = 2; + * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -1045,6 +1132,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
@@ -1072,6 +1161,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
@@ -1085,8 +1176,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();
           onChanged();
@@ -1097,6 +1187,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
@@ -1114,7 +1206,7 @@ public Builder mergeParams(com.google.protobuf.Struct value) {
         if (paramsBuilder_ == null) {
           if (params_ != null) {
             params_ =
-              com.google.protobuf.Struct.newBuilder(params_).mergeFrom(value).buildPartial();
+                com.google.protobuf.Struct.newBuilder(params_).mergeFrom(value).buildPartial();
           } else {
             params_ = value;
           }
@@ -1126,6 +1218,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
@@ -1151,6 +1245,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
@@ -1165,11 +1261,13 @@ public Builder clearParams() {
        * .google.protobuf.Struct params = 2;
        */
       public com.google.protobuf.Struct.Builder getParamsBuilder() {
-        
+
         onChanged();
         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
@@ -1187,11 +1285,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
@@ -1206,35 +1305,41 @@ 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
-      internalGetParamTypes() {
+          paramTypes_;
+
+      private com.google.protobuf.MapField
+          internalGetParamTypes() {
         if (paramTypes_ == null) {
           return com.google.protobuf.MapField.emptyMapField(
               ParamTypesDefaultEntryHolder.defaultEntry);
         }
         return paramTypes_;
       }
+
       private com.google.protobuf.MapField
-      internalGetMutableParamTypes() {
-        onChanged();;
+          internalGetMutableParamTypes() {
+        onChanged();
+        ;
         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();
@@ -1246,6 +1351,8 @@ 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
@@ -1258,22 +1365,22 @@ 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
@@ -1287,11 +1394,12 @@ public java.util.Map getParamTypes
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
       @java.lang.Override
-
       public java.util.Map getParamTypesMap() {
         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
@@ -1305,16 +1413,18 @@ public java.util.Map getParamTypes
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
       @java.lang.Override
-
       public com.google.spanner.v1.Type getParamTypesOrDefault(
-          java.lang.String key,
-          com.google.spanner.v1.Type defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
+          java.lang.String 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
@@ -1328,10 +1438,10 @@ public 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)) {
@@ -1341,11 +1451,12 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(
       }
 
       public Builder clearParamTypes() {
-        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
@@ -1358,23 +1469,21 @@ 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() {
         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
@@ -1387,19 +1496,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"); }
+      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");
-}
+          throw new NullPointerException("map value");
+        }
 
-        internalGetMutableParamTypes().getMutableMap()
-            .put(key, value);
+        internalGetMutableParamTypes().getMutableMap().put(key, value);
         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
@@ -1412,13 +1522,12 @@ public Builder putParamTypes(
        *
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
-
       public Builder putAllParamTypes(
           java.util.Map values) {
-        internalGetMutableParamTypes().getMutableMap()
-            .putAll(values);
+        internalGetMutableParamTypes().getMutableMap().putAll(values);
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1431,12 +1540,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();
     }
@@ -1445,27 +1554,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;
@@ -1480,17 +1590,21 @@ 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;
   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 +1613,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 +1648,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 +1657,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 +1668,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 +1677,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,7 +1699,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]; + * */ @java.lang.Override public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() { @@ -1579,6 +1711,8 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde public static final int STATEMENTS_FIELD_NUMBER = 3; 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
@@ -1587,13 +1721,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
@@ -1602,14 +1741,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
@@ -1618,13 +1761,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
@@ -1633,13 +1780,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
@@ -1648,7 +1799,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( @@ -1659,6 +1812,8 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatem public static final int SEQNO_FIELD_NUMBER = 4; 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
@@ -1670,6 +1825,7 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatem
    * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The seqno. */ @java.lang.Override @@ -1680,11 +1836,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 @@ -1692,18 +1851,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.
    * 
@@ -1716,6 +1882,7 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1727,8 +1894,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1757,20 +1923,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; @@ -1780,28 +1942,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; @@ -1825,8 +1983,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(); @@ -1836,130 +1993,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(); @@ -1990,9 +2153,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 @@ -2011,7 +2174,8 @@ 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); int from_bitField0_ = bitField0_; result.session_ = session_; if (transactionBuilder_ == null) { @@ -2042,38 +2206,39 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -2107,9 +2272,10 @@ public Builder mergeFrom(com.google.spanner.v1.ExecuteBatchDmlRequest other) { statementsBuilder_ = null; statements_ = other.statements_; bitField0_ = (bitField0_ & ~0x00000001); - statementsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getStatementsFieldBuilder() : null; + statementsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getStatementsFieldBuilder() + : null; } else { statementsBuilder_.addAllMessages(other.statements_); } @@ -2147,49 +2313,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - session_ = input.readStringRequireUtf8(); + case 10: + { + session_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - input.readMessage( - getTransactionFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry); - 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(); + 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(); - break; - } // case 32 - case 42: { - input.readMessage( - getRequestOptionsFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 32 + case 42: + { + input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2199,22 +2367,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; @@ -2223,20 +2396,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 { @@ -2244,54 +2420,67 @@ 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) { + public Builder setSession(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + session_ = value; 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() { - + session_ = getDefaultInstance().getSession(); 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) = { ... } + * + * * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes( - com.google.protobuf.ByteString value) { + public Builder setSessionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + session_ = value; onChanged(); return this; @@ -2299,8 +2488,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
@@ -2308,13 +2502,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 transactionBuilder_ != null || transaction_ != null; } /** + * + * *
      * Required. The transaction to use. Must be a read-write transaction.
      * To protect against replays, single-use transactions are not supported. The
@@ -2322,17 +2521,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
@@ -2340,7 +2546,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) { @@ -2356,6 +2564,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
@@ -2363,7 +2573,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) { @@ -2377,6 +2589,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
@@ -2384,13 +2598,17 @@ 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 (transaction_ != null) { transaction_ = - com.google.spanner.v1.TransactionSelector.newBuilder(transaction_).mergeFrom(value).buildPartial(); + com.google.spanner.v1.TransactionSelector.newBuilder(transaction_) + .mergeFrom(value) + .buildPartial(); } else { transaction_ = value; } @@ -2402,6 +2620,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
@@ -2409,7 +2629,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() { if (transactionBuilder_ == null) { @@ -2423,6 +2645,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
@@ -2430,14 +2654,18 @@ 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() { - + onChanged(); 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
@@ -2445,17 +2673,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
@@ -2463,35 +2696,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_ & 0x00000001) != 0)) { - statements_ = new java.util.ArrayList(statements_); + statements_ = + new java.util.ArrayList( + statements_); bitField0_ |= 0x00000001; - } + } } 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
@@ -2500,9 +2746,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 { @@ -2510,6 +2759,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
@@ -2518,7 +2769,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) { @@ -2528,6 +2781,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
@@ -2536,7 +2791,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) { @@ -2546,6 +2803,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
@@ -2554,7 +2813,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) { @@ -2571,6 +2832,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
@@ -2579,7 +2842,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) { @@ -2593,6 +2858,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
@@ -2601,7 +2868,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) { @@ -2617,6 +2886,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
@@ -2625,7 +2896,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) { @@ -2642,6 +2915,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
@@ -2650,7 +2925,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) { @@ -2664,6 +2941,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
@@ -2672,7 +2951,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) { @@ -2686,6 +2967,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
@@ -2694,14 +2977,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); @@ -2709,6 +2994,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
@@ -2717,7 +3004,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) { @@ -2730,6 +3019,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
@@ -2738,7 +3029,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) { @@ -2751,6 +3044,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
@@ -2759,13 +3054,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
@@ -2774,16 +3073,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
@@ -2792,10 +3096,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 { @@ -2803,6 +3109,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
@@ -2811,13 +3119,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
@@ -2826,14 +3138,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
@@ -2842,29 +3159,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_ & 0x00000001) != 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_ & 0x00000001) != 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
@@ -2876,6 +3200,7 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder addStateme
      * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The seqno. */ @java.lang.Override @@ -2883,6 +3208,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
@@ -2894,16 +3221,19 @@ 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; 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
@@ -2915,10 +3245,11 @@ public Builder setSeqno(long value) {
      * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSeqno() { - + seqno_ = 0L; onChanged(); return this; @@ -2926,34 +3257,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 requestOptionsBuilder_ != null || requestOptions_ != null; } /** + * + * *
      * 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.
      * 
@@ -2974,14 +3318,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(); onChanged(); @@ -2992,6 +3337,8 @@ public Builder setRequestOptions( return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -3002,7 +3349,9 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { if (requestOptions_ != null) { requestOptions_ = - com.google.spanner.v1.RequestOptions.newBuilder(requestOptions_).mergeFrom(value).buildPartial(); + com.google.spanner.v1.RequestOptions.newBuilder(requestOptions_) + .mergeFrom(value) + .buildPartial(); } else { requestOptions_ = value; } @@ -3014,6 +3363,8 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -3032,6 +3383,8 @@ public Builder clearRequestOptions() { return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -3039,11 +3392,13 @@ public Builder clearRequestOptions() { * .google.spanner.v1.RequestOptions request_options = 5; */ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { - + onChanged(); return getRequestOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Common options for this request.
      * 
@@ -3054,11 +3409,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.
      * 
@@ -3066,21 +3424,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); } @@ -3090,12 +3451,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(); } @@ -3104,27 +3465,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; @@ -3139,6 +3500,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 7047158748b..1b985c8fd38 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,47 +44,51 @@
  *
  * 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;
   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
@@ -84,6 +105,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
@@ -96,11 +119,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
@@ -117,6 +142,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
@@ -133,6 +160,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
@@ -145,20 +174,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 @@ -166,12 +197,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 @@ -179,6 +213,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.
@@ -192,6 +228,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -203,8 +240,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
     }
@@ -221,12 +257,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;
@@ -236,19 +270,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;
@@ -274,97 +307,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
@@ -388,33 +428,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();
@@ -435,9 +474,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
@@ -456,7 +495,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (resultSetsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -480,38 +520,39 @@ public com.google.spanner.v1.ExecuteBatchDmlResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -538,9 +579,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_);
           }
@@ -575,32 +617,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);
+            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);
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -610,21 +651,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
@@ -644,6 +692,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
@@ -663,6 +713,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
@@ -682,6 +734,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
@@ -693,8 +747,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();
@@ -708,6 +761,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
@@ -731,6 +786,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
@@ -756,6 +813,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
@@ -767,8 +826,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();
@@ -782,6 +840,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
@@ -793,8 +853,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());
@@ -805,6 +864,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
@@ -828,6 +889,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
@@ -843,8 +906,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);
@@ -852,6 +914,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
@@ -874,6 +938,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
@@ -896,6 +962,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
@@ -907,11 +975,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
@@ -923,14 +992,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
@@ -942,8 +1013,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 {
@@ -951,6 +1022,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
@@ -963,10 +1036,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
@@ -978,12 +1053,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
@@ -995,20 +1071,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_;
@@ -1016,26 +1094,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 statusBuilder_ != null || 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. */ public com.google.rpc.Status getStatus() { @@ -1046,6 +1131,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.
@@ -1067,6 +1154,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.
@@ -1074,8 +1163,7 @@ public Builder setStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status status = 2;
      */
-    public Builder setStatus(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
       if (statusBuilder_ == null) {
         status_ = builderForValue.build();
         onChanged();
@@ -1086,6 +1174,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.
@@ -1096,8 +1186,7 @@ public Builder setStatus(
     public Builder mergeStatus(com.google.rpc.Status value) {
       if (statusBuilder_ == null) {
         if (status_ != null) {
-          status_ =
-            com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
+          status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
         } else {
           status_ = value;
         }
@@ -1109,6 +1198,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.
@@ -1128,6 +1219,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.
@@ -1136,11 +1229,13 @@ public Builder clearStatus() {
      * .google.rpc.Status status = 2;
      */
     public com.google.rpc.Status.Builder getStatusBuilder() {
-      
+
       onChanged();
       return getStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1152,11 +1247,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.
@@ -1165,21 +1261,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);
     }
 
@@ -1189,12 +1285,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();
   }
@@ -1203,27 +1299,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;
@@ -1238,6 +1334,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 79%
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 4f1ab57ca8a..a5b9b32ea56 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,32 +389,35 @@ 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; private volatile java.lang.Object optimizerVersion_; /** + * + * *
      * An option to control the selection of optimizer version.
      * This parameter allows individual queries to pick different query
@@ -391,6 +438,7 @@ protected java.lang.Object newInstance(
      * 
* * string optimizer_version = 1; + * * @return The optimizerVersion. */ @java.lang.Override @@ -399,14 +447,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
@@ -427,16 +476,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 { @@ -447,6 +495,8 @@ public java.lang.String getOptimizerVersion() { public static final int OPTIMIZER_STATISTICS_PACKAGE_FIELD_NUMBER = 2; 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
@@ -469,6 +519,7 @@ public java.lang.String getOptimizerVersion() {
      * 
* * string optimizer_statistics_package = 2; + * * @return The optimizerStatisticsPackage. */ @java.lang.Override @@ -477,14 +528,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
@@ -507,16 +559,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 { @@ -525,6 +576,7 @@ public java.lang.String getOptimizerStatisticsPackage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -536,8 +588,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -557,7 +608,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; @@ -567,17 +620,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; } @@ -599,87 +652,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 @@ -689,39 +749,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(); @@ -733,9 +795,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 @@ -754,7 +816,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); + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions result = + new com.google.spanner.v1.ExecuteSqlRequest.QueryOptions(this); result.optimizerVersion_ = optimizerVersion_; result.optimizerStatisticsPackage_ = optimizerStatisticsPackage_; onBuilt(); @@ -765,38 +828,41 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions 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.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; @@ -804,7 +870,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_; onChanged(); @@ -839,22 +906,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - optimizerVersion_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - optimizerStatisticsPackage_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + optimizerVersion_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + optimizerStatisticsPackage_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -867,6 +937,8 @@ public Builder mergeFrom( private java.lang.Object optimizerVersion_ = ""; /** + * + * *
        * An option to control the selection of optimizer version.
        * This parameter allows individual queries to pick different query
@@ -887,13 +959,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; @@ -902,6 +974,8 @@ public java.lang.String getOptimizerVersion() { } } /** + * + * *
        * An option to control the selection of optimizer version.
        * This parameter allows individual queries to pick different query
@@ -922,15 +996,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 { @@ -938,6 +1011,8 @@ public java.lang.String getOptimizerVersion() { } } /** + * + * *
        * An option to control the selection of optimizer version.
        * This parameter allows individual queries to pick different query
@@ -958,20 +1033,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) { + public Builder setOptimizerVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + optimizerVersion_ = value; onChanged(); return this; } /** + * + * *
        * An option to control the selection of optimizer version.
        * This parameter allows individual queries to pick different query
@@ -992,15 +1069,18 @@ public Builder setOptimizerVersion(
        * 
* * string optimizer_version = 1; + * * @return This builder for chaining. */ public Builder clearOptimizerVersion() { - + optimizerVersion_ = getDefaultInstance().getOptimizerVersion(); onChanged(); return this; } /** + * + * *
        * An option to control the selection of optimizer version.
        * This parameter allows individual queries to pick different query
@@ -1021,16 +1101,16 @@ 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) { + public Builder setOptimizerVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + optimizerVersion_ = value; onChanged(); return this; @@ -1038,6 +1118,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
@@ -1060,13 +1142,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; @@ -1075,6 +1157,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
@@ -1097,15 +1181,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 { @@ -1113,6 +1196,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
@@ -1135,20 +1220,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) { + public Builder setOptimizerStatisticsPackage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + optimizerStatisticsPackage_ = value; onChanged(); return this; } /** + * + * *
        * An option to control the selection of optimizer statistics package.
        * This parameter allows individual queries to use a different query
@@ -1171,15 +1258,18 @@ public Builder setOptimizerStatisticsPackage(
        * 
* * string optimizer_statistics_package = 2; + * * @return This builder for chaining. */ public Builder clearOptimizerStatisticsPackage() { - + optimizerStatisticsPackage_ = getDefaultInstance().getOptimizerStatisticsPackage(); onChanged(); return this; } /** + * + * *
        * An option to control the selection of optimizer statistics package.
        * This parameter allows individual queries to use a different query
@@ -1202,20 +1292,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) { + public Builder setOptimizerStatisticsPackageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + optimizerStatisticsPackage_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1228,12 +1319,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(); } @@ -1242,27 +1333,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; @@ -1277,17 +1369,21 @@ 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; 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 @@ -1296,29 +1392,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 { @@ -1329,6 +1427,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
@@ -1340,6 +1440,7 @@ public java.lang.String getSession() {
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return Whether the transaction field is set. */ @java.lang.Override @@ -1347,6 +1448,8 @@ public boolean hasTransaction() { return transaction_ != null; } /** + * + * *
    * The transaction to use.
    * For queries, if none is provided, the default is a temporary read-only
@@ -1358,13 +1461,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,11 +1493,14 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
   public static final int SQL_FIELD_NUMBER = 3;
   private volatile java.lang.Object sql_;
   /**
+   *
+   *
    * 
    * Required. The SQL string.
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sql. */ @java.lang.Override @@ -1398,29 +1509,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 { @@ -1431,6 +1542,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
@@ -1444,6 +1557,7 @@ public java.lang.String getSql() {
    * 
* * .google.protobuf.Struct params = 4; + * * @return Whether the params field is set. */ @java.lang.Override @@ -1451,6 +1565,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
@@ -1464,6 +1580,7 @@ public boolean hasParams() {
    * 
* * .google.protobuf.Struct params = 4; + * * @return The params. */ @java.lang.Override @@ -1471,6 +1588,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
@@ -1491,24 +1610,26 @@ 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());
-  }
-  private com.google.protobuf.MapField<
-      java.lang.String, com.google.spanner.v1.Type> paramTypes_;
+                .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());
+  }
+
+  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_;
   }
@@ -1517,6 +1638,8 @@ 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
@@ -1529,22 +1652,22 @@ 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
@@ -1558,11 +1681,12 @@ public java.util.Map getParamTypes
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-
   public java.util.Map getParamTypesMap() {
     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
@@ -1576,16 +1700,18 @@ public java.util.Map getParamTypes
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-
   public com.google.spanner.v1.Type getParamTypesOrDefault(
-      java.lang.String key,
-      com.google.spanner.v1.Type defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String 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
@@ -1599,10 +1725,10 @@ public 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)) {
@@ -1614,6 +1740,8 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(
   public static final int RESUME_TOKEN_FIELD_NUMBER = 6;
   private com.google.protobuf.ByteString resumeToken_;
   /**
+   *
+   *
    * 
    * If this request is resuming a previously interrupted SQL statement
    * execution, `resume_token` should be copied from the last
@@ -1624,6 +1752,7 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(
    * 
* * bytes resume_token = 6; + * * @return The resumeToken. */ @java.lang.Override @@ -1634,6 +1763,8 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int QUERY_MODE_FIELD_NUMBER = 7; private int 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
@@ -1641,12 +1772,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
@@ -1654,17 +1789,22 @@ 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() { + @java.lang.Override + public com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode() { @SuppressWarnings("deprecation") - com.google.spanner.v1.ExecuteSqlRequest.QueryMode result = com.google.spanner.v1.ExecuteSqlRequest.QueryMode.valueOf(queryMode_); + com.google.spanner.v1.ExecuteSqlRequest.QueryMode result = + com.google.spanner.v1.ExecuteSqlRequest.QueryMode.valueOf(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_; /** + * + * *
    * If present, results will be restricted to the specified partition
    * previously created using PartitionQuery().  There must be an exact
@@ -1673,6 +1813,7 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * bytes partition_token = 8; + * * @return The partitionToken. */ @java.lang.Override @@ -1683,6 +1824,8 @@ public com.google.protobuf.ByteString getPartitionToken() { public static final int SEQNO_FIELD_NUMBER = 9; 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
@@ -1695,6 +1838,7 @@ public com.google.protobuf.ByteString getPartitionToken() {
    * 
* * int64 seqno = 9; + * * @return The seqno. */ @java.lang.Override @@ -1705,11 +1849,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 @@ -1717,18 +1864,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.
    * 
@@ -1743,11 +1897,14 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder getQueryOpt 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 @@ -1755,18 +1912,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,6 +1943,7 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1790,8 +1955,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1804,12 +1968,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_); } @@ -1841,49 +2001,41 @@ 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()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1893,45 +2045,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.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1967,8 +2109,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(); @@ -1982,97 +2123,104 @@ public int hashCode() { 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].
@@ -2080,55 +2228,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();
@@ -2173,9 +2318,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
@@ -2194,7 +2339,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);
+      com.google.spanner.v1.ExecuteSqlRequest result =
+          new com.google.spanner.v1.ExecuteSqlRequest(this);
       int from_bitField0_ = bitField0_;
       result.session_ = session_;
       if (transactionBuilder_ == null) {
@@ -2232,38 +2378,39 @@ public com.google.spanner.v1.ExecuteSqlRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -2286,8 +2433,7 @@ public Builder mergeFrom(com.google.spanner.v1.ExecuteSqlRequest other) {
       if (other.hasParams()) {
         mergeParams(other.getParams());
       }
-      internalGetMutableParamTypes().mergeFrom(
-          other.internalGetParamTypes());
+      internalGetMutableParamTypes().mergeFrom(other.internalGetParamTypes());
       if (other.getResumeToken() != com.google.protobuf.ByteString.EMPTY) {
         setResumeToken(other.getResumeToken());
       }
@@ -2332,78 +2478,85 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              session_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                session_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTransactionFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              sql_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                sql_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getParamsFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 34
-            case 42: {
-              com.google.protobuf.MapEntry
-              paramTypes__ = input.readMessage(
-                  ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableParamTypes().getMutableMap().put(
-                  paramTypes__.getKey(), paramTypes__.getValue());
-              break;
-            } // case 42
-            case 50: {
-              resumeToken_ = input.readBytes();
+                break;
+              } // case 34
+            case 42:
+              {
+                com.google.protobuf.MapEntry
+                    paramTypes__ =
+                        input.readMessage(
+                            ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableParamTypes()
+                    .getMutableMap()
+                    .put(paramTypes__.getKey(), paramTypes__.getValue());
+                break;
+              } // case 42
+            case 50:
+              {
+                resumeToken_ = input.readBytes();
 
-              break;
-            } // case 50
-            case 56: {
-              queryMode_ = input.readEnum();
+                break;
+              } // case 50
+            case 56:
+              {
+                queryMode_ = input.readEnum();
 
-              break;
-            } // case 56
-            case 66: {
-              partitionToken_ = input.readBytes();
+                break;
+              } // case 56
+            case 66:
+              {
+                partitionToken_ = input.readBytes();
 
-              break;
-            } // case 66
-            case 72: {
-              seqno_ = input.readInt64();
+                break;
+              } // case 66
+            case 72:
+              {
+                seqno_ = input.readInt64();
 
-              break;
-            } // case 72
-            case 82: {
-              input.readMessage(
-                  getQueryOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 72
+            case 82:
+              {
+                input.readMessage(getQueryOptionsFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 82
-            case 90: {
-              input.readMessage(
-                  getRequestOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 82
+            case 90:
+              {
+                input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 90
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 90
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2413,22 +2566,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; @@ -2437,20 +2595,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 { @@ -2458,54 +2619,67 @@ 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) { + public Builder setSession(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + session_ = value; 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() { - + session_ = getDefaultInstance().getSession(); 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) = { ... } + * + * * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes( - com.google.protobuf.ByteString value) { + public Builder setSessionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + session_ = value; onChanged(); return this; @@ -2513,8 +2687,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
@@ -2526,12 +2705,15 @@ public Builder setSessionBytes(
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return transactionBuilder_ != null || transaction_ != null; } /** + * + * *
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2543,16 +2725,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
@@ -2579,6 +2766,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
@@ -2603,6 +2792,8 @@ public Builder setTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2619,7 +2810,9 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
       if (transactionBuilder_ == null) {
         if (transaction_ != null) {
           transaction_ =
-            com.google.spanner.v1.TransactionSelector.newBuilder(transaction_).mergeFrom(value).buildPartial();
+              com.google.spanner.v1.TransactionSelector.newBuilder(transaction_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           transaction_ = value;
         }
@@ -2631,6 +2824,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
@@ -2655,6 +2850,8 @@ public Builder clearTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2668,11 +2865,13 @@ public Builder clearTransaction() {
      * .google.spanner.v1.TransactionSelector transaction = 2;
      */
     public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder() {
-      
+
       onChanged();
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2689,11 +2888,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
@@ -2707,14 +2909,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_;
@@ -2722,18 +2927,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; @@ -2742,20 +2949,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 { @@ -2763,54 +2971,61 @@ 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) { + public Builder setSql(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sql_ = value; onChanged(); return this; } /** + * + * *
      * Required. The SQL string.
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSql() { - + sql_ = getDefaultInstance().getSql(); onChanged(); 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) { + public Builder setSqlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sql_ = value; onChanged(); return this; @@ -2818,8 +3033,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
@@ -2833,12 +3053,15 @@ public Builder setSqlBytes(
      * 
* * .google.protobuf.Struct params = 4; + * * @return Whether the params field is set. */ public boolean hasParams() { return paramsBuilder_ != null || params_ != null; } /** + * + * *
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -2852,6 +3075,7 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 4; + * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -2862,6 +3086,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
@@ -2890,6 +3116,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
@@ -2904,8 +3132,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();
         onChanged();
@@ -2916,6 +3143,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
@@ -2933,8 +3162,7 @@ public Builder setParams(
     public Builder mergeParams(com.google.protobuf.Struct value) {
       if (paramsBuilder_ == null) {
         if (params_ != null) {
-          params_ =
-            com.google.protobuf.Struct.newBuilder(params_).mergeFrom(value).buildPartial();
+          params_ = com.google.protobuf.Struct.newBuilder(params_).mergeFrom(value).buildPartial();
         } else {
           params_ = value;
         }
@@ -2946,6 +3174,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
@@ -2972,6 +3202,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
@@ -2987,11 +3219,13 @@ public Builder clearParams() {
      * .google.protobuf.Struct params = 4;
      */
     public com.google.protobuf.Struct.Builder getParamsBuilder() {
-      
+
       onChanged();
       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
@@ -3010,11 +3244,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
@@ -3030,35 +3265,40 @@ 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() {
+        internalGetParamTypes() {
       if (paramTypes_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             ParamTypesDefaultEntryHolder.defaultEntry);
       }
       return paramTypes_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableParamTypes() {
-      onChanged();;
+        internalGetMutableParamTypes() {
+      onChanged();
+      ;
       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();
@@ -3070,6 +3310,8 @@ 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
@@ -3082,22 +3324,22 @@ 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
@@ -3111,11 +3353,12 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-
     public java.util.Map getParamTypesMap() {
       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
@@ -3129,16 +3372,18 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-
     public com.google.spanner.v1.Type getParamTypesOrDefault(
-        java.lang.String key,
-        com.google.spanner.v1.Type defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String 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
@@ -3152,10 +3397,10 @@ public 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)) {
@@ -3165,11 +3410,12 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(
     }
 
     public Builder clearParamTypes() {
-      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
@@ -3182,23 +3428,21 @@ 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() {
       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
@@ -3211,19 +3455,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableParamTypes().getMutableMap()
-          .put(key, value);
+      internalGetMutableParamTypes().getMutableMap().put(key, value);
       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
@@ -3236,16 +3481,16 @@ public Builder putParamTypes(
      *
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
-
     public Builder putAllParamTypes(
         java.util.Map values) {
-      internalGetMutableParamTypes().getMutableMap()
-          .putAll(values);
+      internalGetMutableParamTypes().getMutableMap().putAll(values);
       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
@@ -3256,6 +3501,7 @@ public Builder putAllParamTypes(
      * 
* * bytes resume_token = 6; + * * @return The resumeToken. */ @java.lang.Override @@ -3263,6 +3509,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
@@ -3273,19 +3521,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(); - } - + throw new NullPointerException(); + } + resumeToken_ = value; onChanged(); return this; } /** + * + * *
      * If this request is resuming a previously interrupted SQL statement
      * execution, `resume_token` should be copied from the last
@@ -3296,10 +3547,11 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 6; + * * @return This builder for chaining. */ public Builder clearResumeToken() { - + resumeToken_ = getDefaultInstance().getResumeToken(); onChanged(); return this; @@ -3307,6 +3559,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
@@ -3314,12 +3568,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
@@ -3327,16 +3585,19 @@ 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. */ public Builder setQueryModeValue(int value) { - + queryMode_ = value; onChanged(); 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
@@ -3344,15 +3605,21 @@ 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() { @SuppressWarnings("deprecation") - com.google.spanner.v1.ExecuteSqlRequest.QueryMode result = com.google.spanner.v1.ExecuteSqlRequest.QueryMode.valueOf(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.valueOf(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
@@ -3360,6 +3627,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. */ @@ -3367,12 +3635,14 @@ public Builder setQueryMode(com.google.spanner.v1.ExecuteSqlRequest.QueryMode va if (value == null) { throw new NullPointerException(); } - + queryMode_ = value.getNumber(); onChanged(); 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
@@ -3380,10 +3650,11 @@ 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() { - + queryMode_ = 0; onChanged(); return this; @@ -3391,6 +3662,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
@@ -3399,6 +3672,7 @@ public Builder clearQueryMode() {
      * 
* * bytes partition_token = 8; + * * @return The partitionToken. */ @java.lang.Override @@ -3406,6 +3680,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
@@ -3414,19 +3690,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(); - } - + throw new NullPointerException(); + } + partitionToken_ = value; onChanged(); return this; } /** + * + * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionQuery().  There must be an exact
@@ -3435,17 +3714,20 @@ public Builder setPartitionToken(com.google.protobuf.ByteString value) {
      * 
* * bytes partition_token = 8; + * * @return This builder for chaining. */ public Builder clearPartitionToken() { - + partitionToken_ = getDefaultInstance().getPartitionToken(); onChanged(); 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
@@ -3458,6 +3740,7 @@ public Builder clearPartitionToken() {
      * 
* * int64 seqno = 9; + * * @return The seqno. */ @java.lang.Override @@ -3465,6 +3748,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
@@ -3477,16 +3762,19 @@ public long getSeqno() {
      * 
* * int64 seqno = 9; + * * @param value The seqno to set. * @return This builder for chaining. */ public Builder setSeqno(long value) { - + seqno_ = value; 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
@@ -3499,10 +3787,11 @@ public Builder setSeqno(long value) {
      * 
* * int64 seqno = 9; + * * @return This builder for chaining. */ public Builder clearSeqno() { - + seqno_ = 0L; onChanged(); return this; @@ -3510,34 +3799,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 queryOptionsBuilder_ != null || queryOptions_ != null; } /** + * + * *
      * 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.
      * 
@@ -3558,6 +3860,8 @@ public Builder setQueryOptions(com.google.spanner.v1.ExecuteSqlRequest.QueryOpti return this; } /** + * + * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -3576,6 +3880,8 @@ public Builder setQueryOptions( return this; } /** + * + * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -3586,7 +3892,9 @@ public Builder mergeQueryOptions(com.google.spanner.v1.ExecuteSqlRequest.QueryOp if (queryOptionsBuilder_ == null) { if (queryOptions_ != null) { queryOptions_ = - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.newBuilder(queryOptions_).mergeFrom(value).buildPartial(); + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.newBuilder(queryOptions_) + .mergeFrom(value) + .buildPartial(); } else { queryOptions_ = value; } @@ -3598,6 +3906,8 @@ public Builder mergeQueryOptions(com.google.spanner.v1.ExecuteSqlRequest.QueryOp return this; } /** + * + * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -3616,6 +3926,8 @@ public Builder clearQueryOptions() { return this; } /** + * + * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -3623,26 +3935,32 @@ public Builder clearQueryOptions() { * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; */ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder getQueryOptionsBuilder() { - + onChanged(); 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.
      * 
@@ -3650,14 +3968,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_; @@ -3665,34 +3986,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 requestOptionsBuilder_ != null || requestOptions_ != null; } /** + * + * *
      * 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.
      * 
@@ -3713,14 +4047,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(); onChanged(); @@ -3731,6 +4066,8 @@ public Builder setRequestOptions( return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -3741,7 +4078,9 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { if (requestOptions_ != null) { requestOptions_ = - com.google.spanner.v1.RequestOptions.newBuilder(requestOptions_).mergeFrom(value).buildPartial(); + com.google.spanner.v1.RequestOptions.newBuilder(requestOptions_) + .mergeFrom(value) + .buildPartial(); } else { requestOptions_ = value; } @@ -3753,6 +4092,8 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -3771,6 +4112,8 @@ public Builder clearRequestOptions() { return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -3778,11 +4121,13 @@ public Builder clearRequestOptions() { * .google.spanner.v1.RequestOptions request_options = 11; */ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { - + onChanged(); return getRequestOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Common options for this request.
      * 
@@ -3793,11 +4138,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.
      * 
@@ -3805,21 +4153,24 @@ 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_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3829,12 +4180,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(); } @@ -3843,27 +4194,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; @@ -3878,6 +4229,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 87% 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 ded58d18c65..1b99cbbfa29 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
@@ -208,11 +257,13 @@ boolean containsParamTypes(
    */
 
   /* 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
@@ -225,11 +276,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
@@ -240,11 +291,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
@@ -252,10 +306,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
@@ -263,11 +320,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
@@ -276,11 +336,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
@@ -293,29 +356,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.
    * 
@@ -325,24 +397,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.
    * 
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 61% 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 2459ce5f89f..b7d42896061 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,61 +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; /** + * + * *
  * 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; 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 @@ -64,29 +88,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 { @@ -95,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,8 +133,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,15 +157,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; } @@ -158,130 +183,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(); @@ -291,9 +322,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 @@ -312,7 +343,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); + com.google.spanner.v1.GetSessionRequest result = + new com.google.spanner.v1.GetSessionRequest(this); result.name_ = name_; onBuilt(); return result; @@ -322,38 +354,39 @@ public com.google.spanner.v1.GetSessionRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -392,17 +425,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -415,18 +450,22 @@ public Builder mergeFrom( 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; @@ -435,20 +474,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 { @@ -456,61 +498,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -520,12 +575,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(); } @@ -534,27 +589,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; @@ -569,6 +624,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 77% 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 958883b13e8..f411904ac4c 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();
@@ -712,8 +775,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;
     }
 
@@ -772,38 +834,39 @@ public com.google.spanner.v1.KeyRange buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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 +876,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 +933,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 +973,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 +990,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() {
@@ -937,16 +1002,21 @@ public Builder clearEndKeyType() {
       return this;
     }
 
-
     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 @@ -954,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 @@ -977,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`.
@@ -998,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`.
@@ -1005,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();
@@ -1017,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`.
@@ -1026,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;
         }
@@ -1045,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`.
@@ -1069,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`.
@@ -1080,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`.
@@ -1099,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`.
@@ -1107,33 +1196,43 @@ 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;
-      onChanged();;
+      onChanged();
+      ;
       return startClosedBuilder_;
     }
 
     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 @@ -1141,12 +1240,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 @@ -1164,6 +1266,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`.
@@ -1185,6 +1289,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`.
@@ -1192,8 +1298,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();
@@ -1204,6 +1309,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`.
@@ -1213,10 +1320,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;
         }
@@ -1232,6 +1342,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`.
@@ -1256,6 +1368,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`.
@@ -1267,6 +1381,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`.
@@ -1286,6 +1402,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`.
@@ -1294,33 +1412,43 @@ 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;
-      onChanged();;
+      onChanged();
+      ;
       return startOpenBuilder_;
     }
 
     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 @@ -1328,12 +1456,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 @@ -1351,6 +1482,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`.
@@ -1372,6 +1505,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`.
@@ -1379,8 +1514,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();
@@ -1391,6 +1525,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`.
@@ -1400,10 +1536,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;
         }
@@ -1419,6 +1557,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`.
@@ -1443,6 +1583,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`.
@@ -1454,6 +1596,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`.
@@ -1473,6 +1617,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`.
@@ -1481,33 +1627,43 @@ 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;
-      onChanged();;
+      onChanged();
+      ;
       return endClosedBuilder_;
     }
 
     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 @@ -1515,12 +1671,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 @@ -1538,6 +1697,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`.
@@ -1559,6 +1720,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`.
@@ -1566,8 +1729,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();
@@ -1578,6 +1740,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`.
@@ -1587,10 +1751,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;
         }
@@ -1606,6 +1772,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`.
@@ -1630,6 +1798,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`.
@@ -1641,6 +1811,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`.
@@ -1660,6 +1832,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`.
@@ -1668,26 +1842,30 @@ 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();;
+      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);
     }
 
@@ -1697,12 +1875,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();
   }
@@ -1711,27 +1889,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;
@@ -1746,6 +1924,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 5da90280117..7b2674debd6 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,25 +49,24 @@ 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);
   }
@@ -57,6 +74,8 @@ protected java.lang.Object newInstance(
   public static final int KEYS_FIELD_NUMBER = 1;
   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
@@ -71,6 +90,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
@@ -81,11 +102,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
@@ -100,6 +122,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
@@ -114,6 +138,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
@@ -124,14 +150,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;
   private java.util.List ranges_;
   /**
+   *
+   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -144,6 +171,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.
@@ -152,11 +181,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.
@@ -169,6 +200,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.
@@ -181,6 +214,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.
@@ -189,14 +224,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_;
   /**
+   *
+   *
    * 
    * 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
@@ -204,6 +240,7 @@ public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(
    * 
* * bool all = 3; + * * @return The all. */ @java.lang.Override @@ -212,6 +249,7 @@ public boolean getAll() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,8 +261,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < keys_.size(); i++) { output.writeMessage(1, keys_.get(i)); } @@ -244,16 +281,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; @@ -263,19 +297,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; } @@ -296,104 +327,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
@@ -405,33 +441,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();
@@ -455,8 +488,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;
     }
 
@@ -505,38 +537,39 @@ public com.google.spanner.v1.KeySet buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -563,9 +596,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_);
           }
@@ -589,9 +623,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_);
           }
@@ -626,43 +661,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();
+            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();
 
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -672,21 +707,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
@@ -704,6 +745,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
@@ -721,6 +764,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
@@ -738,6 +783,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
@@ -747,8 +794,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();
@@ -762,6 +808,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
@@ -771,8 +819,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());
@@ -783,6 +830,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
@@ -806,6 +855,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
@@ -815,8 +866,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();
@@ -830,6 +880,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
@@ -839,8 +891,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());
@@ -851,6 +902,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
@@ -860,8 +913,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());
@@ -872,6 +924,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
@@ -881,12 +935,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);
@@ -894,6 +946,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
@@ -914,6 +968,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
@@ -934,6 +990,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
@@ -943,11 +1001,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
@@ -957,14 +1016,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
@@ -974,8 +1035,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 {
@@ -983,6 +1043,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
@@ -993,10 +1055,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
@@ -1006,12 +1069,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
@@ -1021,38 +1085,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.
@@ -1068,6 +1140,8 @@ public java.util.List getRangesList() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1083,6 +1157,8 @@ public int getRangesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1098,6 +1174,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.
@@ -1105,8 +1183,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();
@@ -1120,6 +1197,8 @@ public Builder setRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1127,8 +1206,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());
@@ -1139,6 +1217,8 @@ public Builder setRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1160,6 +1240,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.
@@ -1167,8 +1249,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();
@@ -1182,6 +1263,8 @@ public Builder addRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1189,8 +1272,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());
@@ -1201,6 +1283,8 @@ public Builder addRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1208,8 +1292,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());
@@ -1220,6 +1303,8 @@ public Builder addRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1231,8 +1316,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);
@@ -1240,6 +1324,8 @@ public Builder addAllRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1258,6 +1344,8 @@ public Builder clearRanges() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1276,6 +1364,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.
@@ -1283,11 +1373,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.
@@ -1295,14 +1386,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.
@@ -1310,8 +1403,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 {
@@ -1319,6 +1412,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.
@@ -1327,10 +1422,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.
@@ -1338,12 +1435,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.
@@ -1351,27 +1449,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
@@ -1379,6 +1481,7 @@ public com.google.spanner.v1.KeyRange.Builder addRangesBuilder(
      * 
* * bool all = 3; + * * @return The all. */ @java.lang.Override @@ -1386,6 +1489,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
@@ -1393,16 +1498,19 @@ public boolean getAll() {
      * 
* * bool all = 3; + * * @param value The all to set. * @return This builder for chaining. */ public Builder setAll(boolean value) { - + all_ = value; 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
@@ -1410,17 +1518,18 @@ public Builder setAll(boolean value) {
      * 
* * bool all = 3; + * * @return This builder for chaining. */ public Builder clearAll() { - + all_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1430,12 +1539,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(); } @@ -1444,27 +1553,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; @@ -1479,6 +1588,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..b79f3d8169b --- /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\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/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 6b60e18e61b..56fce398459 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,37 +45,43 @@ 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; 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 @@ -66,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 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 { @@ -99,12 +125,15 @@ public java.lang.String getDatabase() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -115,6 +144,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -122,6 +153,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -130,14 +162,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
@@ -145,16 +178,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,6 +197,8 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; 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:
@@ -176,6 +210,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -184,14 +219,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:
@@ -203,16 +239,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 { @@ -221,6 +256,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,8 +268,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -259,8 +294,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_); @@ -276,21 +310,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; } @@ -315,130 +346,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 +491,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,7 +512,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); + com.google.spanner.v1.ListSessionsRequest result = + new com.google.spanner.v1.ListSessionsRequest(this); result.database_ = database_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -488,38 +526,39 @@ public com.google.spanner.v1.ListSessionsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -569,32 +608,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - database_ = input.readStringRequireUtf8(); + case 10: + { + database_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -607,18 +651,22 @@ public Builder mergeFrom( 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; @@ -627,20 +675,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 { @@ -648,67 +699,83 @@ 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) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); 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) = { ... } + * + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); 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 @@ -716,32 +783,38 @@ 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; 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() { - + pageSize_ = 0; onChanged(); return this; @@ -749,6 +822,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
@@ -756,13 +831,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; @@ -771,6 +846,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
@@ -778,15 +855,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 { @@ -794,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
@@ -801,20 +879,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -822,15 +902,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -838,16 +921,16 @@ 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -855,6 +938,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:
@@ -866,13 +951,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; @@ -881,6 +966,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:
@@ -892,15 +979,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 { @@ -908,6 +994,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:
@@ -919,20 +1007,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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -944,15 +1034,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -964,23 +1057,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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -990,12 +1083,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(); } @@ -1004,27 +1097,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; @@ -1039,6 +1132,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 007c393c690..861c8076602 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,32 +44,35 @@ 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; private java.util.List sessions_; /** + * + * *
    * The list of requested sessions.
    * 
@@ -63,6 +84,8 @@ public java.util.List getSessionsList() { return sessions_; } /** + * + * *
    * The list of requested sessions.
    * 
@@ -70,11 +93,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.
    * 
@@ -86,6 +111,8 @@ public int getSessionsCount() { return sessions_.size(); } /** + * + * *
    * The list of requested sessions.
    * 
@@ -97,6 +124,8 @@ public com.google.spanner.v1.Session getSessions(int index) { return sessions_.get(index); } /** + * + * *
    * The list of requested sessions.
    * 
@@ -104,14 +133,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; 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
@@ -119,6 +149,7 @@ public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -127,14 +158,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -142,16 +174,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +191,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +203,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < sessions_.size(); i++) { output.writeMessage(1, sessions_.get(i)); } @@ -189,8 +220,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_); @@ -203,17 +233,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -236,130 +265,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(); @@ -376,9 +411,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 @@ -397,7 +432,8 @@ 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); int from_bitField0_ = bitField0_; if (sessionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -417,38 +453,39 @@ public com.google.spanner.v1.ListSessionsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -475,9 +512,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_); } @@ -513,30 +551,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(); + 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(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -546,21 +585,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.
      * 
@@ -575,6 +621,8 @@ public java.util.List getSessionsList() { } } /** + * + * *
      * The list of requested sessions.
      * 
@@ -589,6 +637,8 @@ public int getSessionsCount() { } } /** + * + * *
      * The list of requested sessions.
      * 
@@ -603,14 +653,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(); @@ -624,14 +675,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()); @@ -642,6 +694,8 @@ public Builder setSessions( return this; } /** + * + * *
      * The list of requested sessions.
      * 
@@ -662,14 +716,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(); @@ -683,14 +738,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()); @@ -701,14 +757,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()); @@ -719,6 +776,8 @@ public Builder addSessions( return this; } /** + * + * *
      * The list of requested sessions.
      * 
@@ -729,8 +788,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); @@ -738,6 +796,8 @@ public Builder addAllSessions( return this; } /** + * + * *
      * The list of requested sessions.
      * 
@@ -755,6 +815,8 @@ public Builder clearSessions() { return this; } /** + * + * *
      * The list of requested sessions.
      * 
@@ -772,39 +834,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 { @@ -812,6 +879,8 @@ public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder( } } /** + * + * *
      * The list of requested sessions.
      * 
@@ -819,42 +888,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_; @@ -862,6 +936,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
@@ -869,13 +945,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; @@ -884,6 +960,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
@@ -891,15 +969,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -907,6 +984,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
@@ -914,20 +993,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -935,15 +1016,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -951,23 +1035,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -977,12 +1061,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(); } @@ -991,27 +1075,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; @@ -1026,6 +1110,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 9d1dc2621ae..62e7878a301 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,37 +273,41 @@ 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;
     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 @@ -269,29 +316,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 { @@ -302,6 +349,8 @@ public java.lang.String getTable() { public static final int COLUMNS_FIELD_NUMBER = 2; 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
@@ -310,13 +359,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
@@ -325,12 +376,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
@@ -339,6 +393,7 @@ public int getColumnsCount() {
      * 
* * repeated string columns = 2; + * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -346,6 +401,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
@@ -354,17 +411,19 @@ 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; 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
@@ -383,6 +442,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
@@ -397,11 +458,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
@@ -420,6 +483,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
@@ -438,6 +503,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
@@ -452,12 +519,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;
@@ -469,8 +536,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.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_);
       }
@@ -501,8 +567,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;
@@ -512,19 +577,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;
     }
@@ -551,88 +613,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
@@ -642,6 +710,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.
@@ -649,33 +719,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();
@@ -694,9 +764,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
@@ -715,7 +785,8 @@ 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);
         int from_bitField0_ = bitField0_;
         result.table_ = table_;
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -740,38 +811,41 @@ public com.google.spanner.v1.Mutation.Write 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.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;
@@ -812,9 +886,10 @@ public Builder mergeFrom(com.google.spanner.v1.Mutation.Write 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_);
             }
@@ -846,36 +921,38 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                table_ = input.readStringRequireUtf8();
-
-                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();
+
+                  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) {
@@ -885,22 +962,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; @@ -909,20 +989,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 { @@ -930,67 +1011,78 @@ 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) { + public Builder setTable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; 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() { - + table_ = getDefaultInstance().getTable(); onChanged(); 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) { + public Builder setTableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); 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_ & 0x00000001) != 0)) { columns_ = new com.google.protobuf.LazyStringArrayList(columns_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * 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
@@ -999,13 +1091,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
@@ -1014,12 +1108,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
@@ -1028,6 +1125,7 @@ public int getColumnsCount() {
        * 
* * repeated string columns = 2; + * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -1035,6 +1133,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
@@ -1043,14 +1143,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
@@ -1059,21 +1161,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) { + public Builder setColumns(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); + 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
@@ -1082,20 +1186,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) { + public Builder addColumns(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); + 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
@@ -1104,18 +1210,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
@@ -1124,6 +1231,7 @@ public Builder addAllColumns(
        * 
* * repeated string columns = 2; + * * @return This builder for chaining. */ public Builder clearColumns() { @@ -1133,6 +1241,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
@@ -1141,15 +1251,15 @@ 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) { + public Builder addColumnsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureColumnsIsMutable(); columns_.add(value); onChanged(); @@ -1157,18 +1267,24 @@ public Builder addColumnsBytes( } private java.util.List values_ = - java.util.Collections.emptyList(); + 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.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
@@ -1190,6 +1306,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
@@ -1211,6 +1329,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
@@ -1232,6 +1352,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
@@ -1245,8 +1367,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();
@@ -1260,6 +1381,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
@@ -1273,8 +1396,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());
@@ -1285,6 +1407,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
@@ -1312,6 +1436,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
@@ -1325,8 +1451,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();
@@ -1340,6 +1465,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
@@ -1353,8 +1480,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());
@@ -1365,6 +1491,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
@@ -1378,8 +1506,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());
@@ -1390,6 +1517,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
@@ -1407,8 +1536,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);
@@ -1416,6 +1544,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
@@ -1440,6 +1570,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
@@ -1464,6 +1596,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
@@ -1477,11 +1611,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
@@ -1495,14 +1630,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
@@ -1516,8 +1653,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 {
@@ -1525,6 +1662,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
@@ -1539,10 +1678,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
@@ -1556,12 +1697,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
@@ -1575,24 +1717,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_ & 0x00000002) != 0),
-                  getParentForChildren(),
-                  isClean());
+          valuesBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.protobuf.ListValue,
+                  com.google.protobuf.ListValue.Builder,
+                  com.google.protobuf.ListValueOrBuilder>(
+                  values_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
           values_ = null;
         }
         return valuesBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1605,12 +1750,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();
     }
@@ -1619,27 +1764,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;
@@ -1654,34 +1800,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
@@ -1692,10 +1845,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
@@ -1706,10 +1862,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
@@ -1724,58 +1883,65 @@ 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; 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 @@ -1784,29 +1950,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 { @@ -1817,6 +1983,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
@@ -1827,6 +1995,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 @@ -1834,6 +2003,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
@@ -1844,6 +2015,7 @@ public boolean hasKeySet() {
      * 
* * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The keySet. */ @java.lang.Override @@ -1851,6 +2023,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
@@ -1868,6 +2042,7 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1879,8 +2054,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.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_);
       }
@@ -1900,8 +2074,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;
@@ -1911,19 +2084,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;
@@ -1947,88 +2118,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
@@ -2038,39 +2215,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(); @@ -2086,9 +2265,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 @@ -2107,7 +2286,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); + com.google.spanner.v1.Mutation.Delete result = + new com.google.spanner.v1.Mutation.Delete(this); result.table_ = table_; if (keySetBuilder_ == null) { result.keySet_ = keySet_; @@ -2122,38 +2302,41 @@ public com.google.spanner.v1.Mutation.Delete 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.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; @@ -2195,24 +2378,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - table_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getKeySetFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + table_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getKeySetFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2225,18 +2409,20 @@ public Builder mergeFrom( 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; @@ -2245,20 +2431,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 { @@ -2266,54 +2453,61 @@ 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) { + public Builder setTable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; 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() { - + table_ = getDefaultInstance().getTable(); onChanged(); 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) { + public Builder setTableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); return this; @@ -2321,8 +2515,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
@@ -2332,13 +2531,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 keySetBuilder_ != null || 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
@@ -2348,7 +2551,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() { @@ -2359,6 +2564,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
@@ -2368,7 +2575,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) { @@ -2384,6 +2592,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
@@ -2393,10 +2603,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(); onChanged(); @@ -2407,6 +2617,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
@@ -2416,13 +2628,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 (keySet_ != null) { keySet_ = - com.google.spanner.v1.KeySet.newBuilder(keySet_).mergeFrom(value).buildPartial(); + com.google.spanner.v1.KeySet.newBuilder(keySet_).mergeFrom(value).buildPartial(); } else { keySet_ = value; } @@ -2434,6 +2647,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
@@ -2443,7 +2658,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() { if (keySetBuilder_ == null) { @@ -2457,6 +2673,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
@@ -2466,14 +2684,17 @@ 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() { - + onChanged(); 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
@@ -2483,17 +2704,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
@@ -2503,21 +2726,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) { @@ -2530,12 +2758,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(); } @@ -2544,27 +2772,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; @@ -2579,13 +2808,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), @@ -2594,6 +2824,7 @@ public enum OperationCase DELETE(5), OPERATION_NOT_SET(0); private final int value; + private OperationCase(int value) { this.value = value; } @@ -2609,34 +2840,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 @@ -2644,22 +2884,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`.
@@ -2670,19 +2915,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 @@ -2690,22 +2938,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`.
@@ -2716,13 +2969,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
@@ -2733,6 +2988,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 @@ -2740,6 +2996,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
@@ -2750,16 +3008,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
@@ -2774,13 +3035,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
@@ -2793,6 +3056,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 @@ -2800,6 +3064,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
@@ -2812,16 +3078,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
@@ -2838,19 +3107,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 @@ -2858,22 +3130,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.
@@ -2884,12 +3161,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;
@@ -2901,8 +3179,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_);
     }
@@ -2928,24 +3205,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;
@@ -2955,7 +3237,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);
@@ -2965,24 +3247,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:
@@ -3027,97 +3304,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
@@ -3126,33 +3409,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();
@@ -3177,9 +3458,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
@@ -3243,38 +3524,39 @@ public com.google.spanner.v1.Mutation buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -3284,29 +3566,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();
@@ -3334,47 +3622,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) {
@@ -3384,12 +3668,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() {
@@ -3399,16 +3683,21 @@ public Builder clearOperation() {
       return this;
     }
 
-
     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 @@ -3416,12 +3705,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 @@ -3439,6 +3731,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`.
@@ -3460,6 +3754,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`.
@@ -3467,8 +3763,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();
@@ -3479,6 +3774,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`.
@@ -3488,10 +3785,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;
         }
@@ -3507,6 +3807,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`.
@@ -3531,6 +3833,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`.
@@ -3542,6 +3846,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`.
@@ -3561,6 +3867,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`.
@@ -3569,33 +3877,45 @@ 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());
         operation_ = null;
       }
       operationCase_ = 1;
-      onChanged();;
+      onChanged();
+      ;
       return insertBuilder_;
     }
 
     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 @@ -3603,12 +3923,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 @@ -3626,6 +3949,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`.
@@ -3647,6 +3972,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`.
@@ -3654,8 +3981,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();
@@ -3666,6 +3992,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`.
@@ -3675,10 +4003,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;
         }
@@ -3694,6 +4025,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`.
@@ -3718,6 +4051,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`.
@@ -3729,6 +4064,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`.
@@ -3748,6 +4085,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`.
@@ -3756,27 +4095,38 @@ 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());
         operation_ = null;
       }
       operationCase_ = 2;
-      onChanged();;
+      onChanged();
+      ;
       return updateBuilder_;
     }
 
     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
@@ -3787,6 +4137,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 @@ -3794,6 +4145,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
@@ -3804,6 +4157,7 @@ public boolean hasInsertOrUpdate() {
      * 
* * .google.spanner.v1.Mutation.Write insert_or_update = 3; + * * @return The insertOrUpdate. */ @java.lang.Override @@ -3821,6 +4175,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
@@ -3846,6 +4202,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
@@ -3857,8 +4215,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();
@@ -3869,6 +4226,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
@@ -3882,10 +4241,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;
         }
@@ -3901,6 +4263,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
@@ -3929,6 +4293,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
@@ -3944,6 +4310,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
@@ -3967,6 +4335,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
@@ -3979,27 +4349,38 @@ 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());
         operation_ = null;
       }
       operationCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return insertOrUpdateBuilder_;
     }
 
     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
@@ -4012,6 +4393,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 @@ -4019,6 +4401,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
@@ -4031,6 +4415,7 @@ public boolean hasReplace() {
      * 
* * .google.spanner.v1.Mutation.Write replace = 4; + * * @return The replace. */ @java.lang.Override @@ -4048,6 +4433,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
@@ -4075,6 +4462,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
@@ -4088,8 +4477,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();
@@ -4100,6 +4488,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
@@ -4115,10 +4505,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;
         }
@@ -4134,6 +4527,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
@@ -4164,6 +4559,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
@@ -4181,6 +4578,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
@@ -4206,6 +4605,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
@@ -4220,33 +4621,45 @@ 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());
         operation_ = null;
       }
       operationCase_ = 4;
-      onChanged();;
+      onChanged();
+      ;
       return replaceBuilder_;
     }
 
     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 @@ -4254,12 +4667,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 @@ -4277,6 +4693,8 @@ public com.google.spanner.v1.Mutation.Delete getDelete() { } } /** + * + * *
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4298,6 +4716,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.
@@ -4305,8 +4725,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();
@@ -4317,6 +4736,8 @@ public Builder setDelete(
       return this;
     }
     /**
+     *
+     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4326,10 +4747,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;
         }
@@ -4345,6 +4769,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.
@@ -4369,6 +4795,8 @@ public Builder clearDelete() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4380,6 +4808,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.
@@ -4399,6 +4829,8 @@ public com.google.spanner.v1.Mutation.DeleteOrBuilder getDeleteOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4407,26 +4839,32 @@ 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());
         operation_ = null;
       }
       operationCase_ = 5;
-      onChanged();;
+      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);
     }
 
@@ -4436,12 +4874,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();
   }
@@ -4450,27 +4888,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;
@@ -4485,6 +4923,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..1c10bfaa9ca
--- /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\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/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 f73369e0b97..3e0e48eba2b 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.
@@ -95,6 +124,8 @@ public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() {
   public static final int VALUES_FIELD_NUMBER = 2;
   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
@@ -164,6 +195,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
@@ -229,11 +262,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
@@ -303,6 +337,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
@@ -372,6 +408,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
@@ -437,14 +475,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_;
   /**
+   *
+   *
    * 
    * 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
@@ -452,6 +491,7 @@ public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(
    * 
* * bool chunked_value = 3; + * * @return The chunkedValue. */ @java.lang.Override @@ -462,6 +502,8 @@ public boolean getChunkedValue() { public static final int RESUME_TOKEN_FIELD_NUMBER = 4; private com.google.protobuf.ByteString resumeToken_; /** + * + * *
    * Streaming calls might be interrupted for a variety of reasons, such
    * as TCP connection loss. If this occurs, the stream of results can
@@ -471,6 +513,7 @@ public boolean getChunkedValue() {
    * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ @java.lang.Override @@ -481,6 +524,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
@@ -491,6 +536,7 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * .google.spanner.v1.ResultSetStats stats = 5; + * * @return Whether the stats field is set. */ @java.lang.Override @@ -498,6 +544,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
@@ -508,6 +556,7 @@ public boolean hasStats() {
    * 
* * .google.spanner.v1.ResultSetStats stats = 5; + * * @return The stats. */ @java.lang.Override @@ -515,6 +564,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
@@ -532,6 +583,7 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -543,8 +595,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -570,24 +621,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;
@@ -597,7 +643,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);
@@ -606,19 +652,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;
@@ -640,8 +681,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()) {
@@ -653,97 +693,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
@@ -752,33 +799,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();
@@ -809,9 +855,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
@@ -830,7 +876,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (metadataBuilder_ == null) {
         result.metadata_ = metadata_;
@@ -861,38 +908,39 @@ public com.google.spanner.v1.PartialResultSet buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -922,9 +970,10 @@ public Builder mergeFrom(com.google.spanner.v1.PartialResultSet other) {
             valuesBuilder_ = null;
             values_ = other.values_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            valuesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getValuesFieldBuilder() : null;
+            valuesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getValuesFieldBuilder()
+                    : null;
           } else {
             valuesBuilder_.addAllMessages(other.values_);
           }
@@ -965,49 +1014,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getMetadataFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              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();
-
-              break;
-            } // case 24
-            case 34: {
-              resumeToken_ = input.readBytes();
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getStatsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              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);
+
+                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();
+
+                break;
+              } // case 24
+            case 34:
+              {
+                resumeToken_ = input.readBytes();
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getStatsFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1017,40 +1066,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 metadataBuilder_ != null || 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. */ 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.
@@ -1072,6 +1135,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.
@@ -1079,8 +1144,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();
         onChanged();
@@ -1091,6 +1155,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1102,7 +1168,9 @@ public Builder mergeMetadata(com.google.spanner.v1.ResultSetMetadata value) {
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.spanner.v1.ResultSetMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.spanner.v1.ResultSetMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1114,6 +1182,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.
@@ -1133,6 +1203,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1141,11 +1213,13 @@ public Builder clearMetadata() {
      * .google.spanner.v1.ResultSetMetadata metadata = 1;
      */
     public com.google.spanner.v1.ResultSetMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1157,11 +1231,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.
@@ -1170,32 +1247,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_ & 0x00000001) != 0)) {
         values_ = new java.util.ArrayList(values_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     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
@@ -1268,6 +1353,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
@@ -1340,6 +1427,8 @@ public int getValuesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1412,6 +1501,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
@@ -1476,8 +1567,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();
@@ -1491,6 +1581,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
@@ -1555,8 +1647,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());
@@ -1567,6 +1658,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
@@ -1645,6 +1738,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
@@ -1709,8 +1804,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();
@@ -1724,6 +1818,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
@@ -1788,8 +1884,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());
@@ -1800,6 +1895,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
@@ -1864,8 +1961,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());
@@ -1876,6 +1972,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
@@ -1940,12 +2038,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);
@@ -1953,6 +2049,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
@@ -2028,6 +2126,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
@@ -2103,6 +2203,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
@@ -2167,11 +2269,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
@@ -2236,14 +2339,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
@@ -2308,8 +2413,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 {
@@ -2317,6 +2421,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
@@ -2382,10 +2488,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
@@ -2450,12 +2557,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
@@ -2520,27 +2628,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_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        valuesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.protobuf.Value,
+                com.google.protobuf.Value.Builder,
+                com.google.protobuf.ValueOrBuilder>(
+                values_, ((bitField0_ & 0x00000001) != 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
@@ -2548,6 +2660,7 @@ public com.google.protobuf.Value.Builder addValuesBuilder(
      * 
* * bool chunked_value = 3; + * * @return The chunkedValue. */ @java.lang.Override @@ -2555,6 +2668,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
@@ -2562,16 +2677,19 @@ 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; 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
@@ -2579,10 +2697,11 @@ public Builder setChunkedValue(boolean value) {
      * 
* * bool chunked_value = 3; + * * @return This builder for chaining. */ public Builder clearChunkedValue() { - + chunkedValue_ = false; onChanged(); return this; @@ -2590,6 +2709,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
@@ -2599,6 +2720,7 @@ public Builder clearChunkedValue() {
      * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ @java.lang.Override @@ -2606,6 +2728,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
@@ -2615,19 +2739,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(); - } - + throw new NullPointerException(); + } + resumeToken_ = value; 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
@@ -2637,10 +2764,11 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 4; + * * @return This builder for chaining. */ public Builder clearResumeToken() { - + resumeToken_ = getDefaultInstance().getResumeToken(); onChanged(); return this; @@ -2648,8 +2776,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
@@ -2660,12 +2793,15 @@ public Builder clearResumeToken() {
      * 
* * .google.spanner.v1.ResultSetStats stats = 5; + * * @return Whether the stats field is set. */ public boolean hasStats() { return statsBuilder_ != null || stats_ != null; } /** + * + * *
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2676,6 +2812,7 @@ public boolean hasStats() {
      * 
* * .google.spanner.v1.ResultSetStats stats = 5; + * * @return The stats. */ public com.google.spanner.v1.ResultSetStats getStats() { @@ -2686,6 +2823,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
@@ -2711,6 +2850,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
@@ -2722,8 +2863,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();
         onChanged();
@@ -2734,6 +2874,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
@@ -2749,7 +2891,9 @@ public Builder mergeStats(com.google.spanner.v1.ResultSetStats value) {
       if (statsBuilder_ == null) {
         if (stats_ != null) {
           stats_ =
-            com.google.spanner.v1.ResultSetStats.newBuilder(stats_).mergeFrom(value).buildPartial();
+              com.google.spanner.v1.ResultSetStats.newBuilder(stats_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           stats_ = value;
         }
@@ -2761,6 +2905,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
@@ -2784,6 +2930,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
@@ -2796,11 +2944,13 @@ public Builder clearStats() {
      * .google.spanner.v1.ResultSetStats stats = 5;
      */
     public com.google.spanner.v1.ResultSetStats.Builder getStatsBuilder() {
-      
+
       onChanged();
       return getStatsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2816,11 +2966,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
@@ -2833,21 +2984,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);
     }
 
@@ -2857,12 +3011,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();
   }
@@ -2871,27 +3025,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;
@@ -2906,6 +3060,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 ad3a6bbde8f..2d16e2cd1ce 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_;
   /**
+   *
+   *
    * 
    * 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
@@ -296,38 +319,39 @@ public com.google.spanner.v1.Partition buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -365,17 +389,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              partitionToken_ = input.readBytes();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                partitionToken_ = input.readBytes();
+
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -388,6 +414,8 @@ public Builder mergeFrom(
 
     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
@@ -395,6 +423,7 @@ public Builder mergeFrom(
      * 
* * bytes partition_token = 1; + * * @return The partitionToken. */ @java.lang.Override @@ -402,6 +431,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
@@ -409,19 +440,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(); - } - + throw new NullPointerException(); + } + partitionToken_ = value; onChanged(); return this; } /** + * + * *
      * This token can be passed to Read, StreamingRead, ExecuteSql, or
      * ExecuteStreamingSql requests to restrict the results to those identified by
@@ -429,17 +463,18 @@ public Builder setPartitionToken(com.google.protobuf.ByteString value) {
      * 
* * bytes partition_token = 1; + * * @return This builder for chaining. */ public Builder clearPartitionToken() { - + partitionToken_ = getDefaultInstance().getPartitionToken(); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -449,12 +484,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(); } @@ -463,27 +498,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; @@ -498,6 +533,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 7ed7f26b8a0..54983c23e59 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_;
   /**
+   *
+   *
    * 
    * **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_; /** + * + * *
    * **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();
@@ -302,9 +326,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
@@ -323,7 +347,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);
+      com.google.spanner.v1.PartitionOptions result =
+          new com.google.spanner.v1.PartitionOptions(this);
       result.partitionSizeBytes_ = partitionSizeBytes_;
       result.maxPartitions_ = maxPartitions_;
       onBuilt();
@@ -334,38 +359,39 @@ public com.google.spanner.v1.PartitionOptions buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -406,22 +432,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              partitionSizeBytes_ = input.readInt64();
-
-              break;
-            } // case 8
-            case 16: {
-              maxPartitions_ = input.readInt64();
-
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                partitionSizeBytes_ = input.readInt64();
+
+                break;
+              } // case 8
+            case 16:
+              {
+                maxPartitions_ = input.readInt64();
+
+                break;
+              } // case 16
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -432,8 +461,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private long partitionSizeBytes_ ;
+    private long partitionSizeBytes_;
     /**
+     *
+     *
      * 
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -443,6 +474,7 @@ public Builder mergeFrom(
      * 
* * int64 partition_size_bytes = 1; + * * @return The partitionSizeBytes. */ @java.lang.Override @@ -450,6 +482,8 @@ public long getPartitionSizeBytes() { return partitionSizeBytes_; } /** + * + * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -459,16 +493,19 @@ 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; onChanged(); return this; } /** + * + * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -478,17 +515,20 @@ public Builder setPartitionSizeBytes(long value) {
      * 
* * int64 partition_size_bytes = 1; + * * @return This builder for chaining. */ public Builder clearPartitionSizeBytes() { - + partitionSizeBytes_ = 0L; onChanged(); return this; } - private long maxPartitions_ ; + private long maxPartitions_; /** + * + * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -500,6 +540,7 @@ public Builder clearPartitionSizeBytes() {
      * 
* * int64 max_partitions = 2; + * * @return The maxPartitions. */ @java.lang.Override @@ -507,6 +548,8 @@ public long getMaxPartitions() { return maxPartitions_; } /** + * + * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -518,16 +561,19 @@ 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; onChanged(); return this; } /** + * + * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -539,17 +585,18 @@ public Builder setMaxPartitions(long value) {
      * 
* * int64 max_partitions = 2; + * * @return This builder for chaining. */ public Builder clearMaxPartitions() { - + maxPartitions_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +606,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(); } @@ -573,27 +620,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; @@ -608,6 +655,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 323ad389d2b..dc8be26caf5 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,49 +44,54 @@ 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; 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 @@ -77,29 +100,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 { @@ -110,12 +135,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 @@ -123,19 +151,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.
@@ -151,6 +186,8 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
   public static final int SQL_FIELD_NUMBER = 3;
   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
@@ -164,6 +201,7 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sql. */ @java.lang.Override @@ -172,14 +210,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
@@ -193,16 +232,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 { @@ -213,6 +251,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
@@ -225,6 +265,7 @@ public java.lang.String getSql() {
    * 
* * .google.protobuf.Struct params = 4; + * * @return Whether the params field is set. */ @java.lang.Override @@ -232,6 +273,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
@@ -244,6 +287,7 @@ public boolean hasParams() {
    * 
* * .google.protobuf.Struct params = 4; + * * @return The params. */ @java.lang.Override @@ -251,6 +295,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
@@ -270,24 +316,26 @@ 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());
   }
-  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_;
   }
@@ -296,6 +344,8 @@ 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
@@ -308,22 +358,22 @@ 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
@@ -337,11 +387,12 @@ public java.util.Map getParamTypes
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-
   public java.util.Map getParamTypesMap() {
     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,16 +406,18 @@ public java.util.Map getParamTypes
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-
   public com.google.spanner.v1.Type getParamTypesOrDefault(
-      java.lang.String key,
-      com.google.spanner.v1.Type defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String 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
@@ -378,10 +431,10 @@ public 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 +446,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 +461,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.
    * 
@@ -429,6 +492,7 @@ public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuil } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -440,8 +504,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -454,12 +517,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 +535,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 +564,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 +623,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(); @@ -748,9 +803,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 @@ -769,7 +824,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); + com.google.spanner.v1.PartitionQueryRequest result = + new com.google.spanner.v1.PartitionQueryRequest(this); int from_bitField0_ = bitField0_; result.session_ = session_; if (transactionBuilder_ == null) { @@ -798,38 +854,39 @@ public com.google.spanner.v1.PartitionQueryRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -852,8 +909,7 @@ public Builder mergeFrom(com.google.spanner.v1.PartitionQueryRequest other) { if (other.hasParams()) { mergeParams(other.getParams()); } - internalGetMutableParamTypes().mergeFrom( - other.internalGetParamTypes()); + internalGetMutableParamTypes().mergeFrom(other.internalGetParamTypes()); if (other.hasPartitionOptions()) { mergePartitionOptions(other.getPartitionOptions()); } @@ -883,51 +939,56 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - session_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getTransactionFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - sql_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - input.readMessage( - getParamsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 34 - case 42: { - com.google.protobuf.MapEntry - paramTypes__ = input.readMessage( - ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableParamTypes().getMutableMap().put( - paramTypes__.getKey(), paramTypes__.getValue()); - break; - } // case 42 - case 50: { - input.readMessage( - getPartitionOptionsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + session_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + sql_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 34 + case 42: + { + com.google.protobuf.MapEntry + paramTypes__ = + input.readMessage( + ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableParamTypes() + .getMutableMap() + .put(paramTypes__.getKey(), paramTypes__.getValue()); + break; + } // case 42 + case 50: + { + input.readMessage( + getPartitionOptionsFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -937,22 +998,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; @@ -961,20 +1027,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 { @@ -982,54 +1051,67 @@ 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) { + public Builder setSession(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + session_ = value; 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() { - + session_ = getDefaultInstance().getSession(); 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) = { ... } + * + * * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes( - com.google.protobuf.ByteString value) { + public Builder setSessionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + session_ = value; onChanged(); return this; @@ -1037,36 +1119,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 transactionBuilder_ != null || 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. */ 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.
@@ -1088,6 +1183,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.
@@ -1107,6 +1204,8 @@ public Builder setTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1118,7 +1217,9 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
       if (transactionBuilder_ == null) {
         if (transaction_ != null) {
           transaction_ =
-            com.google.spanner.v1.TransactionSelector.newBuilder(transaction_).mergeFrom(value).buildPartial();
+              com.google.spanner.v1.TransactionSelector.newBuilder(transaction_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           transaction_ = value;
         }
@@ -1130,6 +1231,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.
@@ -1149,6 +1252,8 @@ public Builder clearTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1157,11 +1262,13 @@ public Builder clearTransaction() {
      * .google.spanner.v1.TransactionSelector transaction = 2;
      */
     public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder() {
-      
+
       onChanged();
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1173,11 +1280,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.
@@ -1186,14 +1296,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_;
@@ -1201,6 +1314,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
@@ -1214,13 +1329,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; @@ -1229,6 +1344,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
@@ -1242,15 +1359,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 { @@ -1258,6 +1374,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
@@ -1271,20 +1389,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) { + public Builder setSql(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sql_ = value; 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
@@ -1298,15 +1418,18 @@ public Builder setSql(
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSql() { - + sql_ = getDefaultInstance().getSql(); 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
@@ -1320,16 +1443,16 @@ 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) { + public Builder setSqlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sql_ = value; onChanged(); return this; @@ -1337,8 +1460,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
@@ -1351,12 +1479,15 @@ public Builder setSqlBytes(
      * 
* * .google.protobuf.Struct params = 4; + * * @return Whether the params field is set. */ public boolean hasParams() { return paramsBuilder_ != null || params_ != null; } /** + * + * *
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -1369,6 +1500,7 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 4; + * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -1379,6 +1511,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
@@ -1406,6 +1540,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
@@ -1419,8 +1555,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();
         onChanged();
@@ -1431,6 +1566,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
@@ -1447,8 +1584,7 @@ public Builder setParams(
     public Builder mergeParams(com.google.protobuf.Struct value) {
       if (paramsBuilder_ == null) {
         if (params_ != null) {
-          params_ =
-            com.google.protobuf.Struct.newBuilder(params_).mergeFrom(value).buildPartial();
+          params_ = com.google.protobuf.Struct.newBuilder(params_).mergeFrom(value).buildPartial();
         } else {
           params_ = value;
         }
@@ -1460,6 +1596,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
@@ -1485,6 +1623,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
@@ -1499,11 +1639,13 @@ public Builder clearParams() {
      * .google.protobuf.Struct params = 4;
      */
     public com.google.protobuf.Struct.Builder getParamsBuilder() {
-      
+
       onChanged();
       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
@@ -1521,11 +1663,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
@@ -1540,35 +1683,40 @@ 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() {
+        internalGetParamTypes() {
       if (paramTypes_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             ParamTypesDefaultEntryHolder.defaultEntry);
       }
       return paramTypes_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableParamTypes() {
-      onChanged();;
+        internalGetMutableParamTypes() {
+      onChanged();
+      ;
       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();
@@ -1580,6 +1728,8 @@ 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
@@ -1592,22 +1742,22 @@ 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
@@ -1621,11 +1771,12 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-
     public java.util.Map getParamTypesMap() {
       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,16 +1790,18 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-
     public com.google.spanner.v1.Type getParamTypesOrDefault(
-        java.lang.String key,
-        com.google.spanner.v1.Type defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String 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
@@ -1662,10 +1815,10 @@ public 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)) {
@@ -1675,11 +1828,12 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(
     }
 
     public Builder clearParamTypes() {
-      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 +1846,21 @@ 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() {
       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,19 +1873,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableParamTypes().getMutableMap()
-          .put(key, value);
+      internalGetMutableParamTypes().getMutableMap().put(key, value);
       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,44 +1899,55 @@ public Builder putParamTypes(
      *
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
-
     public Builder putAllParamTypes(
         java.util.Map values) {
-      internalGetMutableParamTypes().getMutableMap()
-          .putAll(values);
+      internalGetMutableParamTypes().getMutableMap().putAll(values);
       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 partitionOptionsBuilder_ != null || partitionOptions_ != null; } /** + * + * *
      * 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.
      * 
@@ -1804,6 +1968,8 @@ public Builder setPartitionOptions(com.google.spanner.v1.PartitionOptions value) return this; } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1822,6 +1988,8 @@ public Builder setPartitionOptions( return this; } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1832,7 +2000,9 @@ public Builder mergePartitionOptions(com.google.spanner.v1.PartitionOptions valu if (partitionOptionsBuilder_ == null) { if (partitionOptions_ != null) { partitionOptions_ = - com.google.spanner.v1.PartitionOptions.newBuilder(partitionOptions_).mergeFrom(value).buildPartial(); + com.google.spanner.v1.PartitionOptions.newBuilder(partitionOptions_) + .mergeFrom(value) + .buildPartial(); } else { partitionOptions_ = value; } @@ -1844,6 +2014,8 @@ public Builder mergePartitionOptions(com.google.spanner.v1.PartitionOptions valu return this; } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1862,6 +2034,8 @@ public Builder clearPartitionOptions() { return this; } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1869,11 +2043,13 @@ public Builder clearPartitionOptions() { * .google.spanner.v1.PartitionOptions partition_options = 6; */ public com.google.spanner.v1.PartitionOptions.Builder getPartitionOptionsBuilder() { - + onChanged(); return getPartitionOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1884,11 +2060,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.
      * 
@@ -1896,21 +2075,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); } @@ -1920,12 +2102,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(); } @@ -1934,27 +2116,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; @@ -1969,6 +2151,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 dea68a3327e..55f3a659ad0 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
@@ -206,11 +255,13 @@ boolean containsParamTypes(
    */
 
   /* 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
@@ -223,29 +274,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 76% 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 9b25eb2bf3d..18e41fd19e2 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,37 +46,43 @@ 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; 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 @@ -67,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 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 { @@ -100,12 +126,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 @@ -113,19 +142,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.
@@ -141,11 +177,14 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
   public static final int TABLE_FIELD_NUMBER = 3;
   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 @@ -154,29 +193,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,6 +226,8 @@ public java.lang.String getTable() { public static final int INDEX_FIELD_NUMBER = 4; 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]
@@ -194,6 +235,7 @@ public java.lang.String getTable() {
    * 
* * string index = 4; + * * @return The index. */ @java.lang.Override @@ -202,14 +244,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]
@@ -217,16 +260,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 { @@ -237,37 +279,45 @@ public java.lang.String getIndex() { public static final int COLUMNS_FIELD_NUMBER = 5; 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. */ @@ -275,23 +325,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]
@@ -302,6 +356,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 @@ -309,6 +364,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]
@@ -319,6 +376,7 @@ public boolean hasKeySet() {
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The keySet. */ @java.lang.Override @@ -326,6 +384,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]
@@ -345,11 +405,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 @@ -357,18 +420,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,6 +451,7 @@ public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuil } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -392,8 +463,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -428,8 +498,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_); @@ -446,12 +515,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; @@ -461,35 +528,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; @@ -529,130 +590,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(); @@ -686,9 +753,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 @@ -707,7 +774,8 @@ 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); int from_bitField0_ = bitField0_; result.session_ = session_; if (transactionBuilder_ == null) { @@ -740,38 +808,39 @@ public com.google.spanner.v1.PartitionReadRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -837,54 +906,57 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - session_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getTransactionFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - table_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - index_ = input.readStringRequireUtf8(); - - 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); - - break; - } // case 50 - case 74: { - input.readMessage( - getPartitionOptionsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + session_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + table_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + index_ = input.readStringRequireUtf8(); + + 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); + + break; + } // case 50 + case 74: + { + input.readMessage( + getPartitionOptionsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -894,22 +966,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; @@ -918,20 +995,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 { @@ -939,54 +1019,67 @@ 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) { + public Builder setSession(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + session_ = value; 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() { - + session_ = getDefaultInstance().getSession(); 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) = { ... } + * + * * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes( - com.google.protobuf.ByteString value) { + public Builder setSessionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + session_ = value; onChanged(); return this; @@ -994,36 +1087,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 transactionBuilder_ != null || 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. */ 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.
@@ -1045,6 +1151,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.
@@ -1064,6 +1172,8 @@ public Builder setTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1075,7 +1185,9 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
       if (transactionBuilder_ == null) {
         if (transaction_ != null) {
           transaction_ =
-            com.google.spanner.v1.TransactionSelector.newBuilder(transaction_).mergeFrom(value).buildPartial();
+              com.google.spanner.v1.TransactionSelector.newBuilder(transaction_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           transaction_ = value;
         }
@@ -1087,6 +1199,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.
@@ -1106,6 +1220,8 @@ public Builder clearTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1114,11 +1230,13 @@ public Builder clearTransaction() {
      * .google.spanner.v1.TransactionSelector transaction = 2;
      */
     public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder() {
-      
+
       onChanged();
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1130,11 +1248,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.
@@ -1143,14 +1264,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_;
@@ -1158,18 +1282,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; @@ -1178,20 +1304,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 { @@ -1199,54 +1326,61 @@ 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) { + public Builder setTable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; 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() { - + table_ = getDefaultInstance().getTable(); onChanged(); 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) { + public Builder setTableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); return this; @@ -1254,6 +1388,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]
@@ -1261,13 +1397,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; @@ -1276,6 +1412,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]
@@ -1283,15 +1421,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 { @@ -1299,6 +1436,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]
@@ -1306,20 +1445,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) { + public Builder setIndex(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + index_ = value; 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]
@@ -1327,15 +1468,18 @@ public Builder setIndex(
      * 
* * string index = 4; + * * @return This builder for chaining. */ public Builder clearIndex() { - + index_ = getDefaultInstance().getIndex(); 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]
@@ -1343,60 +1487,70 @@ 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) { + public Builder setIndexBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + index_ = value; onChanged(); 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_ & 0x00000001) != 0)) { columns_ = new com.google.protobuf.LazyStringArrayList(columns_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * 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. */ @@ -1404,85 +1558,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) { + public Builder setColumns(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); + 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) { + public Builder addColumns(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); + 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,21 +1656,23 @@ 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) { + public Builder addColumnsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureColumnsIsMutable(); columns_.add(value); onChanged(); @@ -1515,8 +1681,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]
@@ -1527,12 +1698,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 keySetBuilder_ != null || 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]
@@ -1543,6 +1717,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() { @@ -1553,6 +1728,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]
@@ -1578,6 +1755,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]
@@ -1589,8 +1768,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();
         onChanged();
@@ -1601,6 +1779,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]
@@ -1616,7 +1796,7 @@ public Builder mergeKeySet(com.google.spanner.v1.KeySet value) {
       if (keySetBuilder_ == null) {
         if (keySet_ != null) {
           keySet_ =
-            com.google.spanner.v1.KeySet.newBuilder(keySet_).mergeFrom(value).buildPartial();
+              com.google.spanner.v1.KeySet.newBuilder(keySet_).mergeFrom(value).buildPartial();
         } else {
           keySet_ = value;
         }
@@ -1628,6 +1808,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]
@@ -1651,6 +1833,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]
@@ -1663,11 +1847,13 @@ public Builder clearKeySet() {
      * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.spanner.v1.KeySet.Builder getKeySetBuilder() {
-      
+
       onChanged();
       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]
@@ -1683,11 +1869,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]
@@ -1700,14 +1887,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_;
@@ -1715,34 +1905,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 partitionOptionsBuilder_ != null || partitionOptions_ != null; } /** + * + * *
      * 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.
      * 
@@ -1763,6 +1966,8 @@ public Builder setPartitionOptions(com.google.spanner.v1.PartitionOptions value) return this; } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1781,6 +1986,8 @@ public Builder setPartitionOptions( return this; } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1791,7 +1998,9 @@ public Builder mergePartitionOptions(com.google.spanner.v1.PartitionOptions valu if (partitionOptionsBuilder_ == null) { if (partitionOptions_ != null) { partitionOptions_ = - com.google.spanner.v1.PartitionOptions.newBuilder(partitionOptions_).mergeFrom(value).buildPartial(); + com.google.spanner.v1.PartitionOptions.newBuilder(partitionOptions_) + .mergeFrom(value) + .buildPartial(); } else { partitionOptions_ = value; } @@ -1803,6 +2012,8 @@ public Builder mergePartitionOptions(com.google.spanner.v1.PartitionOptions valu return this; } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1821,6 +2032,8 @@ public Builder clearPartitionOptions() { return this; } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1828,11 +2041,13 @@ public Builder clearPartitionOptions() { * .google.spanner.v1.PartitionOptions partition_options = 9; */ public com.google.spanner.v1.PartitionOptions.Builder getPartitionOptionsBuilder() { - + onChanged(); return getPartitionOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1843,11 +2058,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.
      * 
@@ -1855,21 +2073,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); } @@ -1879,12 +2100,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(); } @@ -1893,27 +2114,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; @@ -1928,6 +2149,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 72% 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 295d13fd61f..d9e2266700b 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,47 +28,51 @@
  *
  * 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;
   private java.util.List partitions_;
   /**
+   *
+   *
    * 
    * Partitions created by this request.
    * 
@@ -63,6 +84,8 @@ public java.util.List getPartitionsList() { return partitions_; } /** + * + * *
    * Partitions created by this request.
    * 
@@ -70,11 +93,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.
    * 
@@ -86,6 +111,8 @@ public int getPartitionsCount() { return partitions_.size(); } /** + * + * *
    * Partitions created by this request.
    * 
@@ -97,6 +124,8 @@ public com.google.spanner.v1.Partition getPartitions(int index) { return partitions_.get(index); } /** + * + * *
    * Partitions created by this request.
    * 
@@ -104,19 +133,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 @@ -124,18 +155,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.
    * 
@@ -148,6 +186,7 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,8 +198,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -177,12 +215,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; @@ -192,19 +228,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; @@ -230,97 +264,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]
@@ -328,33 +369,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();
@@ -375,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_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
@@ -396,7 +436,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (partitionsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -420,38 +461,39 @@ public com.google.spanner.v1.PartitionResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -478,9 +520,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_);
           }
@@ -515,32 +558,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);
+            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);
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -550,21 +592,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.
      * 
@@ -579,6 +628,8 @@ public java.util.List getPartitionsList() { } } /** + * + * *
      * Partitions created by this request.
      * 
@@ -593,6 +644,8 @@ public int getPartitionsCount() { } } /** + * + * *
      * Partitions created by this request.
      * 
@@ -607,14 +660,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(); @@ -628,6 +682,8 @@ public Builder setPartitions( return this; } /** + * + * *
      * Partitions created by this request.
      * 
@@ -646,6 +702,8 @@ public Builder setPartitions( return this; } /** + * + * *
      * Partitions created by this request.
      * 
@@ -666,14 +724,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(); @@ -687,14 +746,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()); @@ -705,6 +765,8 @@ public Builder addPartitions( return this; } /** + * + * *
      * Partitions created by this request.
      * 
@@ -723,6 +785,8 @@ public Builder addPartitions( return this; } /** + * + * *
      * Partitions created by this request.
      * 
@@ -733,8 +797,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); @@ -742,6 +805,8 @@ public Builder addAllPartitions( return this; } /** + * + * *
      * Partitions created by this request.
      * 
@@ -759,6 +824,8 @@ public Builder clearPartitions() { return this; } /** + * + * *
      * Partitions created by this request.
      * 
@@ -776,39 +843,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 { @@ -816,6 +888,8 @@ public com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder( } } /** + * + * *
      * Partitions created by this request.
      * 
@@ -823,42 +897,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_; @@ -866,34 +945,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 transactionBuilder_ != null || transaction_ != null; } /** + * + * *
      * 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.
      * 
@@ -914,14 +1006,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(); onChanged(); @@ -932,6 +1025,8 @@ public Builder setTransaction( return this; } /** + * + * *
      * Transaction created by this request.
      * 
@@ -942,7 +1037,9 @@ public Builder mergeTransaction(com.google.spanner.v1.Transaction value) { if (transactionBuilder_ == null) { if (transaction_ != null) { transaction_ = - com.google.spanner.v1.Transaction.newBuilder(transaction_).mergeFrom(value).buildPartial(); + com.google.spanner.v1.Transaction.newBuilder(transaction_) + .mergeFrom(value) + .buildPartial(); } else { transaction_ = value; } @@ -954,6 +1051,8 @@ public Builder mergeTransaction(com.google.spanner.v1.Transaction value) { return this; } /** + * + * *
      * Transaction created by this request.
      * 
@@ -972,6 +1071,8 @@ public Builder clearTransaction() { return this; } /** + * + * *
      * Transaction created by this request.
      * 
@@ -979,11 +1080,13 @@ public Builder clearTransaction() { * .google.spanner.v1.Transaction transaction = 2; */ public com.google.spanner.v1.Transaction.Builder getTransactionBuilder() { - + onChanged(); return getTransactionFieldBuilder().getBuilder(); } /** + * + * *
      * Transaction created by this request.
      * 
@@ -994,11 +1097,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.
      * 
@@ -1006,21 +1112,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); } @@ -1030,12 +1139,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(); } @@ -1044,27 +1153,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; @@ -1079,6 +1188,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 66a666f0677..e0637602c77 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_;
     /**
+     *
+     *
      * 
      * The node to which the link points.
      * 
* * int32 child_index = 1; + * * @return The childIndex. */ @java.lang.Override @@ -345,6 +396,8 @@ public int getChildIndex() { public static final int TYPE_FIELD_NUMBER = 2; 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
@@ -353,6 +406,7 @@ public int getChildIndex() {
      * 
* * string type = 2; + * * @return The type. */ @java.lang.Override @@ -361,14 +415,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
@@ -377,16 +432,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 { @@ -397,6 +451,8 @@ public java.lang.String getType() { public static final int VARIABLE_FIELD_NUMBER = 3; 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
@@ -409,6 +465,7 @@ public java.lang.String getType() {
      * 
* * string variable = 3; + * * @return The variable. */ @java.lang.Override @@ -417,14 +474,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
@@ -437,16 +495,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 { @@ -455,6 +512,7 @@ public java.lang.String getVariable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -466,8 +524,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -487,8 +544,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_); @@ -504,19 +560,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; } @@ -539,88 +593,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 @@ -630,6 +690,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Metadata associated with a parent-child relationship appearing in a
      * [PlanNode][google.spanner.v1.PlanNode].
@@ -637,33 +699,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 +739,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,7 +760,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);
+        com.google.spanner.v1.PlanNode.ChildLink result =
+            new com.google.spanner.v1.PlanNode.ChildLink(this);
         result.childIndex_ = childIndex_;
         result.type_ = type_;
         result.variable_ = variable_;
@@ -710,38 +773,41 @@ public com.google.spanner.v1.PlanNode.ChildLink 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.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;
@@ -787,27 +853,31 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                childIndex_ = input.readInt32();
-
-                break;
-              } // case 8
-              case 18: {
-                type_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-              case 26: {
-                variable_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 8:
+                {
+                  childIndex_ = input.readInt32();
+
+                  break;
+                } // case 8
+              case 18:
+                {
+                  type_ = input.readStringRequireUtf8();
+
+                  break;
+                } // case 18
+              case 26:
+                {
+                  variable_ = input.readStringRequireUtf8();
+
+                  break;
+                } // case 26
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -818,13 +888,16 @@ public Builder mergeFrom(
         return this;
       }
 
-      private int childIndex_ ;
+      private int childIndex_;
       /**
+       *
+       *
        * 
        * The node to which the link points.
        * 
* * int32 child_index = 1; + * * @return The childIndex. */ @java.lang.Override @@ -832,30 +905,36 @@ 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; onChanged(); return this; } /** + * + * *
        * The node to which the link points.
        * 
* * int32 child_index = 1; + * * @return This builder for chaining. */ public Builder clearChildIndex() { - + childIndex_ = 0; onChanged(); return this; @@ -863,6 +942,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
@@ -871,13 +952,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; @@ -886,6 +967,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
@@ -894,15 +977,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 { @@ -910,6 +992,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
@@ -918,20 +1002,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) { + public Builder setType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; 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
@@ -940,15 +1026,18 @@ public Builder setType(
        * 
* * string type = 2; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); 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
@@ -957,16 +1046,16 @@ 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) { + public Builder setTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -974,6 +1063,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
@@ -986,13 +1077,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; @@ -1001,6 +1092,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
@@ -1013,15 +1106,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 { @@ -1029,6 +1121,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
@@ -1041,20 +1135,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) { + public Builder setVariable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + variable_ = value; 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
@@ -1067,15 +1163,18 @@ public Builder setVariable(
        * 
* * string variable = 3; + * * @return This builder for chaining. */ public Builder clearVariable() { - + variable_ = getDefaultInstance().getVariable(); 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
@@ -1088,20 +1187,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) { + public Builder setVariableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + variable_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1114,12 +1214,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(); } @@ -1128,27 +1228,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; @@ -1163,34 +1264,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`
@@ -1203,6 +1311,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`
@@ -1213,15 +1323,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`
@@ -1232,9 +1340,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`
@@ -1245,11 +1354,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`
@@ -1260,11 +1368,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].
@@ -1272,64 +1380,68 @@ 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;
     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 @@ -1338,29 +1450,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 { @@ -1369,21 +1481,22 @@ 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); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Integer> subqueries_; + 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); + } + + private com.google.protobuf.MapField subqueries_; + private com.google.protobuf.MapField - internalGetSubqueries() { + internalGetSubqueries() { if (subqueries_ == null) { return com.google.protobuf.MapField.emptyMapField( SubqueriesDefaultEntryHolder.defaultEntry); @@ -1395,6 +1508,8 @@ 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`
@@ -1405,22 +1520,22 @@ 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`
@@ -1432,11 +1547,12 @@ public java.util.Map getSubqueries() {
      * map<string, int32> subqueries = 2;
      */
     @java.lang.Override
-
     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`
@@ -1448,16 +1564,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`
@@ -1469,12 +1585,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();
       }
@@ -1482,6 +1597,7 @@ public int getSubqueriesOrThrow(
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1493,17 +1609,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);
     }
 
@@ -1516,15 +1627,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;
@@ -1534,17 +1645,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;
     }
@@ -1568,87 +1678,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
@@ -1658,6 +1774,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Condensed representation of a node and its subtree. Only present for
      * `SCALAR` [PlanNode(s)][google.spanner.v1.PlanNode].
@@ -1665,55 +1783,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();
@@ -1724,9 +1840,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
@@ -1745,7 +1861,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);
+        com.google.spanner.v1.PlanNode.ShortRepresentation result =
+            new com.google.spanner.v1.PlanNode.ShortRepresentation(this);
         int from_bitField0_ = bitField0_;
         result.description_ = description_;
         result.subqueries_ = internalGetSubqueries();
@@ -1758,38 +1875,41 @@ public com.google.spanner.v1.PlanNode.ShortRepresentation 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.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;
@@ -1797,13 +1917,13 @@ 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_;
           onChanged();
         }
-        internalGetMutableSubqueries().mergeFrom(
-            other.internalGetSubqueries());
+        internalGetMutableSubqueries().mergeFrom(other.internalGetSubqueries());
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
         return this;
@@ -1830,25 +1950,30 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                description_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-              case 18: {
-                com.google.protobuf.MapEntry
-                subqueries__ = input.readMessage(
-                    SubqueriesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-                internalGetMutableSubqueries().getMutableMap().put(
-                    subqueries__.getKey(), subqueries__.getValue());
-                break;
-              } // case 18
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  description_ = input.readStringRequireUtf8();
+
+                  break;
+                } // case 10
+              case 18:
+                {
+                  com.google.protobuf.MapEntry subqueries__ =
+                      input.readMessage(
+                          SubqueriesDefaultEntryHolder.defaultEntry.getParserForType(),
+                          extensionRegistry);
+                  internalGetMutableSubqueries()
+                      .getMutableMap()
+                      .put(subqueries__.getKey(), subqueries__.getValue());
+                  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) {
@@ -1858,22 +1983,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; @@ -1882,20 +2010,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 { @@ -1903,75 +2032,84 @@ 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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); onChanged(); 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.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_; } + private com.google.protobuf.MapField - internalGetMutableSubqueries() { - onChanged();; + internalGetMutableSubqueries() { + onChanged(); + ; 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(); @@ -1983,6 +2121,8 @@ 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`
@@ -1993,22 +2133,22 @@ 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`
@@ -2020,11 +2160,12 @@ public java.util.Map getSubqueries() {
        * map<string, int32> subqueries = 2;
        */
       @java.lang.Override
-
       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`
@@ -2036,16 +2177,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`
@@ -2057,12 +2198,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();
         }
@@ -2070,11 +2210,12 @@ public int getSubqueriesOrThrow(
       }
 
       public Builder clearSubqueries() {
-        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`
@@ -2085,23 +2226,21 @@ 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() {
         return internalGetMutableSubqueries().getMutableMap();
       }
       /**
+       *
+       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2112,16 +2251,17 @@ 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);
         return this;
       }
       /**
+       *
+       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2132,13 +2272,11 @@ 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);
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2151,12 +2289,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();
     }
@@ -2165,27 +2303,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;
@@ -2200,17 +2339,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_;
   /**
+   *
+   *
    * 
    * The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].
    * 
* * int32 index = 1; + * * @return The index. */ @java.lang.Override @@ -2221,6 +2362,8 @@ public int getIndex() { public static final int KIND_FIELD_NUMBER = 2; private int 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
@@ -2230,12 +2373,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
@@ -2245,9 +2392,11 @@ public int getIndex() {
    * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; + * * @return The kind. */ - @java.lang.Override public com.google.spanner.v1.PlanNode.Kind getKind() { + @java.lang.Override + public com.google.spanner.v1.PlanNode.Kind getKind() { @SuppressWarnings("deprecation") com.google.spanner.v1.PlanNode.Kind result = com.google.spanner.v1.PlanNode.Kind.valueOf(kind_); return result == null ? com.google.spanner.v1.PlanNode.Kind.UNRECOGNIZED : result; @@ -2256,11 +2405,14 @@ public int getIndex() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object displayName_; /** + * + * *
    * The display name for the node.
    * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -2269,29 +2421,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 { @@ -2302,6 +2454,8 @@ public java.lang.String getDisplayName() { public static final int CHILD_LINKS_FIELD_NUMBER = 4; private java.util.List childLinks_; /** + * + * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2313,6 +2467,8 @@ public java.util.List getChildLinksLis return childLinks_; } /** + * + * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2320,11 +2476,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.
    * 
@@ -2336,6 +2494,8 @@ public int getChildLinksCount() { return childLinks_.size(); } /** + * + * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2347,6 +2507,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.
    * 
@@ -2354,19 +2516,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 @@ -2374,18 +2538,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.
    * 
@@ -2393,13 +2564,16 @@ 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() { + public com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder + getShortRepresentationOrBuilder() { return getShortRepresentation(); } 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
@@ -2411,6 +2585,7 @@ public com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder getShortRepre
    * 
* * .google.protobuf.Struct metadata = 6; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -2418,6 +2593,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
@@ -2429,6 +2606,7 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 6; + * * @return The metadata. */ @java.lang.Override @@ -2436,6 +2614,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
@@ -2456,6 +2636,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
@@ -2464,6 +2646,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
    * 
* * .google.protobuf.Struct execution_stats = 7; + * * @return Whether the executionStats field is set. */ @java.lang.Override @@ -2471,6 +2654,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
@@ -2479,13 +2664,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
@@ -2501,6 +2691,7 @@ public com.google.protobuf.StructOrBuilder getExecutionStatsOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2512,8 +2703,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_);
     }
@@ -2545,31 +2735,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;
@@ -2579,34 +2763,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;
@@ -2646,130 +2824,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(); @@ -2808,9 +2990,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 @@ -2866,38 +3048,39 @@ public com.google.spanner.v1.PlanNode buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -2934,9 +3117,10 @@ public Builder mergeFrom(com.google.spanner.v1.PlanNode other) { childLinksBuilder_ = null; childLinks_ = other.childLinks_; bitField0_ = (bitField0_ & ~0x00000001); - childLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getChildLinksFieldBuilder() : null; + childLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getChildLinksFieldBuilder() + : null; } else { childLinksBuilder_.addAllMessages(other.childLinks_); } @@ -2977,61 +3161,63 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - index_ = input.readInt32(); + case 8: + { + index_ = input.readInt32(); - break; - } // case 8 - case 16: { - kind_ = input.readEnum(); + break; + } // case 8 + case 16: + { + kind_ = input.readEnum(); - break; - } // case 16 - case 26: { - displayName_ = input.readStringRequireUtf8(); + break; + } // case 16 + case 26: + { + displayName_ = input.readStringRequireUtf8(); - 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); + 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); - break; - } // case 42 - case 50: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 42 + case 50: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 50 - case 58: { - input.readMessage( - getExecutionStatsFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 50 + case 58: + { + input.readMessage(getExecutionStatsFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -3041,15 +3227,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 @@ -3057,30 +3247,36 @@ 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; 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() { - + index_ = 0; onChanged(); return this; @@ -3088,6 +3284,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
@@ -3097,12 +3295,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
@@ -3112,16 +3314,19 @@ 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. */ public Builder setKindValue(int value) { - + kind_ = value; onChanged(); 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
@@ -3131,15 +3336,19 @@ 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() { @SuppressWarnings("deprecation") - com.google.spanner.v1.PlanNode.Kind result = com.google.spanner.v1.PlanNode.Kind.valueOf(kind_); + com.google.spanner.v1.PlanNode.Kind result = + com.google.spanner.v1.PlanNode.Kind.valueOf(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
@@ -3149,6 +3358,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. */ @@ -3156,12 +3366,14 @@ public Builder setKind(com.google.spanner.v1.PlanNode.Kind value) { if (value == null) { throw new NullPointerException(); } - + kind_ = value.getNumber(); onChanged(); 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
@@ -3171,10 +3383,11 @@ 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() { - + kind_ = 0; onChanged(); return this; @@ -3182,18 +3395,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; @@ -3202,20 +3417,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 { @@ -3223,72 +3439,86 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The display name for the node.
      * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private java.util.List childLinks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureChildLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - childLinks_ = new java.util.ArrayList(childLinks_); + childLinks_ = + new java.util.ArrayList(childLinks_); bitField0_ |= 0x00000001; - } + } } 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.
      * 
@@ -3303,6 +3533,8 @@ public java.util.List getChildLinksLis } } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3317,6 +3549,8 @@ public int getChildLinksCount() { } } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3331,14 +3565,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(); @@ -3352,6 +3587,8 @@ public Builder setChildLinks( return this; } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3370,6 +3607,8 @@ public Builder setChildLinks( return this; } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3390,14 +3629,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(); @@ -3411,14 +3651,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()); @@ -3429,6 +3670,8 @@ public Builder addChildLinks( return this; } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3447,6 +3690,8 @@ public Builder addChildLinks( return this; } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3457,8 +3702,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); @@ -3466,6 +3710,8 @@ public Builder addAllChildLinks( return this; } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3483,6 +3729,8 @@ public Builder clearChildLinks() { return this; } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3500,39 +3748,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 { @@ -3540,6 +3793,8 @@ public com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder( } } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3547,42 +3802,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_ & 0x00000001) != 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_ & 0x00000001) != 0), getParentForChildren(), isClean()); childLinks_ = null; } return childLinksBuilder_; @@ -3590,41 +3851,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 shortRepresentationBuilder_ != null || shortRepresentation_ != null; } /** + * + * *
      * 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(); @@ -3638,6 +3913,8 @@ public Builder setShortRepresentation(com.google.spanner.v1.PlanNode.ShortRepres return this; } /** + * + * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
@@ -3656,17 +3933,22 @@ 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 (shortRepresentation_ != null) { shortRepresentation_ = - com.google.spanner.v1.PlanNode.ShortRepresentation.newBuilder(shortRepresentation_).mergeFrom(value).buildPartial(); + com.google.spanner.v1.PlanNode.ShortRepresentation.newBuilder(shortRepresentation_) + .mergeFrom(value) + .buildPartial(); } else { shortRepresentation_ = value; } @@ -3678,6 +3960,8 @@ public Builder mergeShortRepresentation(com.google.spanner.v1.PlanNode.ShortRepr return this; } /** + * + * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
@@ -3696,33 +3980,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() { + 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.
      * 
@@ -3730,14 +4023,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_; @@ -3745,8 +4041,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
@@ -3758,12 +4059,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 metadataBuilder_ != null || 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
@@ -3775,6 +4079,7 @@ public boolean hasMetadata() {
      * 
* * .google.protobuf.Struct metadata = 6; + * * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -3785,6 +4090,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
@@ -3811,6 +4118,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
@@ -3823,8 +4132,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();
         onChanged();
@@ -3835,6 +4143,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
@@ -3851,7 +4161,7 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -3863,6 +4173,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
@@ -3887,6 +4199,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
@@ -3900,11 +4214,13 @@ public Builder clearMetadata() {
      * .google.protobuf.Struct metadata = 6;
      */
     public com.google.protobuf.Struct.Builder getMetadataBuilder() {
-      
+
       onChanged();
       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
@@ -3921,11 +4237,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
@@ -3939,14 +4256,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_;
@@ -3954,8 +4274,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
@@ -3964,12 +4289,15 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * 
* * .google.protobuf.Struct execution_stats = 7; + * * @return Whether the executionStats field is set. */ public boolean hasExecutionStats() { return executionStatsBuilder_ != null || 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
@@ -3978,16 +4306,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
@@ -4011,6 +4344,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
@@ -4020,8 +4355,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();
         onChanged();
@@ -4032,6 +4366,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
@@ -4045,7 +4381,9 @@ public Builder mergeExecutionStats(com.google.protobuf.Struct value) {
       if (executionStatsBuilder_ == null) {
         if (executionStats_ != null) {
           executionStats_ =
-            com.google.protobuf.Struct.newBuilder(executionStats_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Struct.newBuilder(executionStats_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           executionStats_ = value;
         }
@@ -4057,6 +4395,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
@@ -4078,6 +4418,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
@@ -4088,11 +4430,13 @@ public Builder clearExecutionStats() {
      * .google.protobuf.Struct execution_stats = 7;
      */
     public com.google.protobuf.Struct.Builder getExecutionStatsBuilder() {
-      
+
       onChanged();
       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
@@ -4106,11 +4450,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
@@ -4121,21 +4468,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);
     }
 
@@ -4145,12 +4495,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();
   }
@@ -4159,27 +4509,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;
@@ -4194,6 +4544,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 6afc831aca8..91c6c4d4858 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,49 +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/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); } @@ -51,6 +69,8 @@ protected java.lang.Object newInstance( public static final int PLAN_NODES_FIELD_NUMBER = 1; 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
@@ -64,6 +84,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
@@ -73,11 +95,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
@@ -91,6 +115,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
@@ -104,6 +130,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
@@ -113,12 +141,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;
@@ -130,8 +158,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < planNodes_.size(); i++) {
       output.writeMessage(1, planNodes_.get(i));
     }
@@ -145,8 +172,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;
@@ -156,15 +182,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;
   }
@@ -185,130 +210,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(); @@ -323,9 +352,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 @@ -363,38 +392,39 @@ public com.google.spanner.v1.QueryPlan buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -421,9 +451,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_); } @@ -455,25 +486,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) { @@ -483,21 +514,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
@@ -514,6 +552,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
@@ -530,6 +570,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
@@ -546,6 +588,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
@@ -554,8 +598,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();
@@ -569,6 +612,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
@@ -577,8 +622,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());
@@ -589,6 +633,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
@@ -611,6 +657,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
@@ -619,8 +667,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();
@@ -634,6 +681,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
@@ -642,8 +691,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());
@@ -654,6 +702,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
@@ -662,8 +712,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());
@@ -674,6 +723,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
@@ -686,8 +737,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);
@@ -695,6 +745,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
@@ -714,6 +766,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
@@ -733,6 +787,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
@@ -741,11 +797,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
@@ -754,14 +811,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
@@ -770,8 +829,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 {
@@ -779,6 +838,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
@@ -788,10 +849,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
@@ -800,12 +863,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
@@ -814,27 +878,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);
     }
 
@@ -844,12 +910,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();
   }
@@ -858,27 +924,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;
@@ -893,6 +959,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..21cc5708fbc
--- /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\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/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 987fda05816..65467a333a6 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,37 +49,43 @@ 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;
   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 @@ -70,29 +94,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 { @@ -103,12 +129,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 @@ -116,19 +145,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.
@@ -144,11 +180,14 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
   public static final int TABLE_FIELD_NUMBER = 3;
   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 @@ -157,29 +196,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,6 +229,8 @@ public java.lang.String getTable() { public static final int INDEX_FIELD_NUMBER = 4; 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]
@@ -197,6 +238,7 @@ public java.lang.String getTable() {
    * 
* * string index = 4; + * * @return The index. */ @java.lang.Override @@ -205,14 +247,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]
@@ -220,16 +263,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 { @@ -240,37 +282,45 @@ public java.lang.String getIndex() { public static final int COLUMNS_FIELD_NUMBER = 5; 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. */ @@ -278,23 +328,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]
@@ -309,6 +363,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 @@ -316,6 +371,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]
@@ -330,6 +387,7 @@ public boolean hasKeySet() {
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The keySet. */ @java.lang.Override @@ -337,6 +395,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]
@@ -360,6 +420,8 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
   public static final int LIMIT_FIELD_NUMBER = 8;
   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
@@ -367,6 +429,7 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
    * 
* * int64 limit = 8; + * * @return The limit. */ @java.lang.Override @@ -377,6 +440,8 @@ public long getLimit() { public static final int RESUME_TOKEN_FIELD_NUMBER = 9; private com.google.protobuf.ByteString resumeToken_; /** + * + * *
    * If this request is resuming a previously interrupted read,
    * `resume_token` should be copied from the last
@@ -387,6 +452,7 @@ public long getLimit() {
    * 
* * bytes resume_token = 9; + * * @return The resumeToken. */ @java.lang.Override @@ -397,6 +463,8 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int PARTITION_TOKEN_FIELD_NUMBER = 10; private com.google.protobuf.ByteString partitionToken_; /** + * + * *
    * If present, results will be restricted to the specified partition
    * previously created using PartitionRead().    There must be an exact
@@ -405,6 +473,7 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * bytes partition_token = 10; + * * @return The partitionToken. */ @java.lang.Override @@ -415,11 +484,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 @@ -427,18 +499,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,6 +530,7 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -462,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(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -507,8 +586,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_); @@ -525,24 +603,19 @@ 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()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -552,41 +625,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.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -618,8 +681,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; @@ -633,97 +695,103 @@ public int hashCode() { 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].
@@ -731,33 +799,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();
@@ -797,9 +864,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
@@ -854,38 +921,39 @@ public com.google.spanner.v1.ReadRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -960,69 +1028,74 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              session_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTransactionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            case 26: {
-              table_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            case 34: {
-              index_ = input.readStringRequireUtf8();
-
-              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);
-
-              break;
-            } // case 50
-            case 64: {
-              limit_ = input.readInt64();
-
-              break;
-            } // case 64
-            case 74: {
-              resumeToken_ = input.readBytes();
-
-              break;
-            } // case 74
-            case 82: {
-              partitionToken_ = input.readBytes();
-
-              break;
-            } // case 82
-            case 90: {
-              input.readMessage(
-                  getRequestOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 90
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                session_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            case 26:
+              {
+                table_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            case 34:
+              {
+                index_ = input.readStringRequireUtf8();
+
+                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);
+
+                break;
+              } // case 50
+            case 64:
+              {
+                limit_ = input.readInt64();
+
+                break;
+              } // case 64
+            case 74:
+              {
+                resumeToken_ = input.readBytes();
+
+                break;
+              } // case 74
+            case 82:
+              {
+                partitionToken_ = input.readBytes();
+
+                break;
+              } // case 82
+            case 90:
+              {
+                input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 90
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1032,22 +1105,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; @@ -1056,20 +1134,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 { @@ -1077,54 +1158,67 @@ 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) { + public Builder setSession(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + session_ = value; 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() { - + session_ = getDefaultInstance().getSession(); 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) = { ... } + * + * * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes( - com.google.protobuf.ByteString value) { + public Builder setSessionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + session_ = value; onChanged(); return this; @@ -1132,36 +1226,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 transactionBuilder_ != null || 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. */ 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.
@@ -1183,6 +1290,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.
@@ -1202,6 +1311,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.
@@ -1213,7 +1324,9 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
       if (transactionBuilder_ == null) {
         if (transaction_ != null) {
           transaction_ =
-            com.google.spanner.v1.TransactionSelector.newBuilder(transaction_).mergeFrom(value).buildPartial();
+              com.google.spanner.v1.TransactionSelector.newBuilder(transaction_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           transaction_ = value;
         }
@@ -1225,6 +1338,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.
@@ -1244,6 +1359,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.
@@ -1252,11 +1369,13 @@ public Builder clearTransaction() {
      * .google.spanner.v1.TransactionSelector transaction = 2;
      */
     public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder() {
-      
+
       onChanged();
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1268,11 +1387,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.
@@ -1281,14 +1403,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_;
@@ -1296,18 +1421,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; @@ -1316,20 +1443,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 { @@ -1337,54 +1465,61 @@ 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) { + public Builder setTable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; 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() { - + table_ = getDefaultInstance().getTable(); onChanged(); 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) { + public Builder setTableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); return this; @@ -1392,6 +1527,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]
@@ -1399,13 +1536,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; @@ -1414,6 +1551,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]
@@ -1421,15 +1560,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 { @@ -1437,6 +1575,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]
@@ -1444,20 +1584,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) { + public Builder setIndex(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + index_ = value; 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]
@@ -1465,15 +1607,18 @@ public Builder setIndex(
      * 
* * string index = 4; + * * @return This builder for chaining. */ public Builder clearIndex() { - + index_ = getDefaultInstance().getIndex(); 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]
@@ -1481,60 +1626,70 @@ 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) { + public Builder setIndexBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + index_ = value; onChanged(); 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_ & 0x00000001) != 0)) { columns_ = new com.google.protobuf.LazyStringArrayList(columns_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * 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. */ @@ -1542,85 +1697,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) { + public Builder setColumns(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); + 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) { + public Builder addColumns(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); + 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() { @@ -1630,21 +1795,23 @@ 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) { + public Builder addColumnsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureColumnsIsMutable(); columns_.add(value); onChanged(); @@ -1653,8 +1820,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]
@@ -1669,12 +1841,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 keySetBuilder_ != null || 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]
@@ -1689,6 +1864,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() { @@ -1699,6 +1875,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]
@@ -1728,6 +1906,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]
@@ -1743,8 +1923,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();
         onChanged();
@@ -1755,6 +1934,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]
@@ -1774,7 +1955,7 @@ public Builder mergeKeySet(com.google.spanner.v1.KeySet value) {
       if (keySetBuilder_ == null) {
         if (keySet_ != null) {
           keySet_ =
-            com.google.spanner.v1.KeySet.newBuilder(keySet_).mergeFrom(value).buildPartial();
+              com.google.spanner.v1.KeySet.newBuilder(keySet_).mergeFrom(value).buildPartial();
         } else {
           keySet_ = value;
         }
@@ -1786,6 +1967,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]
@@ -1813,6 +1996,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]
@@ -1829,11 +2014,13 @@ public Builder clearKeySet() {
      * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.spanner.v1.KeySet.Builder getKeySetBuilder() {
-      
+
       onChanged();
       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]
@@ -1853,11 +2040,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]
@@ -1874,21 +2062,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
@@ -1896,6 +2089,7 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
      * 
* * int64 limit = 8; + * * @return The limit. */ @java.lang.Override @@ -1903,6 +2097,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
@@ -1910,16 +2106,19 @@ public long getLimit() {
      * 
* * int64 limit = 8; + * * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(long value) { - + limit_ = value; 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
@@ -1927,10 +2126,11 @@ public Builder setLimit(long value) {
      * 
* * int64 limit = 8; + * * @return This builder for chaining. */ public Builder clearLimit() { - + limit_ = 0L; onChanged(); return this; @@ -1938,6 +2138,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
@@ -1948,6 +2150,7 @@ public Builder clearLimit() {
      * 
* * bytes resume_token = 9; + * * @return The resumeToken. */ @java.lang.Override @@ -1955,6 +2158,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
@@ -1965,19 +2170,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(); - } - + throw new NullPointerException(); + } + resumeToken_ = value; onChanged(); return this; } /** + * + * *
      * If this request is resuming a previously interrupted read,
      * `resume_token` should be copied from the last
@@ -1988,10 +2196,11 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 9; + * * @return This builder for chaining. */ public Builder clearResumeToken() { - + resumeToken_ = getDefaultInstance().getResumeToken(); onChanged(); return this; @@ -1999,6 +2208,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
@@ -2007,6 +2218,7 @@ public Builder clearResumeToken() {
      * 
* * bytes partition_token = 10; + * * @return The partitionToken. */ @java.lang.Override @@ -2014,6 +2226,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
@@ -2022,19 +2236,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(); - } - + throw new NullPointerException(); + } + partitionToken_ = value; onChanged(); return this; } /** + * + * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionRead().    There must be an exact
@@ -2043,10 +2260,11 @@ public Builder setPartitionToken(com.google.protobuf.ByteString value) {
      * 
* * bytes partition_token = 10; + * * @return This builder for chaining. */ public Builder clearPartitionToken() { - + partitionToken_ = getDefaultInstance().getPartitionToken(); onChanged(); return this; @@ -2054,34 +2272,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 requestOptionsBuilder_ != null || requestOptions_ != null; } /** + * + * *
      * 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.
      * 
@@ -2102,14 +2333,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(); onChanged(); @@ -2120,6 +2352,8 @@ public Builder setRequestOptions( return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -2130,7 +2364,9 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { if (requestOptions_ != null) { requestOptions_ = - com.google.spanner.v1.RequestOptions.newBuilder(requestOptions_).mergeFrom(value).buildPartial(); + com.google.spanner.v1.RequestOptions.newBuilder(requestOptions_) + .mergeFrom(value) + .buildPartial(); } else { requestOptions_ = value; } @@ -2142,6 +2378,8 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -2160,6 +2398,8 @@ public Builder clearRequestOptions() { return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -2167,11 +2407,13 @@ public Builder clearRequestOptions() { * .google.spanner.v1.RequestOptions request_options = 11; */ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { - + onChanged(); return getRequestOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Common options for this request.
      * 
@@ -2182,11 +2424,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.
      * 
@@ -2194,21 +2439,24 @@ 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_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2218,12 +2466,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(); } @@ -2232,27 +2480,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; @@ -2267,6 +2515,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 86% 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 36da6d75a1e..5988afde18f 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.
    * 
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 ff6b6bbb613..1f262e38fa9 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,44 @@ private Priority(int value) { public static final int PRIORITY_FIELD_NUMBER = 1; private int priority_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.spanner.v1.RequestOptions.Priority getPriority() { @SuppressWarnings("deprecation") - com.google.spanner.v1.RequestOptions.Priority result = com.google.spanner.v1.RequestOptions.Priority.valueOf(priority_); + com.google.spanner.v1.RequestOptions.Priority result = + com.google.spanner.v1.RequestOptions.Priority.valueOf(priority_); return result == null ? com.google.spanner.v1.RequestOptions.Priority.UNRECOGNIZED : result; } public static final int REQUEST_TAG_FIELD_NUMBER = 2; private volatile java.lang.Object requestTag_; /** + * + * *
    * A per-request tag which can be applied to queries or reads, used for
    * statistics collection.
@@ -269,6 +316,7 @@ private Priority(int value) {
    * 
* * string request_tag = 2; + * * @return The requestTag. */ @java.lang.Override @@ -277,14 +325,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 +348,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 { @@ -319,6 +367,8 @@ public java.lang.String getRequestTag() { public static final int TRANSACTION_TAG_FIELD_NUMBER = 3; 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
@@ -334,6 +384,7 @@ public java.lang.String getRequestTag() {
    * 
* * string transaction_tag = 3; + * * @return The transactionTag. */ @java.lang.Override @@ -342,14 +393,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
@@ -365,16 +417,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 { @@ -383,6 +434,7 @@ public java.lang.String getTransactionTag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -394,9 +446,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_)) { @@ -414,9 +466,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_); @@ -432,7 +484,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); @@ -440,10 +492,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; } @@ -466,130 +516,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(); @@ -603,9 +658,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 @@ -636,38 +691,39 @@ public com.google.spanner.v1.RequestOptions buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -713,27 +769,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - priority_ = input.readEnum(); - - break; - } // case 8 - case 18: { - requestTag_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - transactionTag_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + priority_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + requestTag_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + transactionTag_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -746,51 +806,65 @@ public Builder mergeFrom( 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. */ public Builder setPriorityValue(int value) { - + priority_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.spanner.v1.RequestOptions.Priority result = com.google.spanner.v1.RequestOptions.Priority.valueOf(priority_); + com.google.spanner.v1.RequestOptions.Priority result = + com.google.spanner.v1.RequestOptions.Priority.valueOf(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. */ @@ -798,21 +872,24 @@ public Builder setPriority(com.google.spanner.v1.RequestOptions.Priority value) if (value == null) { throw new NullPointerException(); } - + priority_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Priority for the request.
      * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; + * * @return This builder for chaining. */ public Builder clearPriority() { - + priority_ = 0; onChanged(); return this; @@ -820,6 +897,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.
@@ -834,13 +913,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; @@ -849,6 +928,8 @@ public java.lang.String getRequestTag() { } } /** + * + * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -863,15 +944,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 { @@ -879,6 +959,8 @@ public java.lang.String getRequestTag() { } } /** + * + * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -893,20 +975,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) { + public Builder setRequestTag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestTag_ = value; onChanged(); return this; } /** + * + * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -921,15 +1005,18 @@ public Builder setRequestTag(
      * 
* * string request_tag = 2; + * * @return This builder for chaining. */ public Builder clearRequestTag() { - + requestTag_ = getDefaultInstance().getRequestTag(); onChanged(); return this; } /** + * + * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -944,16 +1031,16 @@ 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) { + public Builder setRequestTagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestTag_ = value; onChanged(); return this; @@ -961,6 +1048,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
@@ -976,13 +1065,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; @@ -991,6 +1080,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
@@ -1006,15 +1097,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 { @@ -1022,6 +1112,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
@@ -1037,20 +1129,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) { + public Builder setTransactionTag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + transactionTag_ = value; 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
@@ -1066,15 +1160,18 @@ public Builder setTransactionTag(
      * 
* * string transaction_tag = 3; + * * @return This builder for chaining. */ public Builder clearTransactionTag() { - + transactionTag_ = getDefaultInstance().getTransactionTag(); 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
@@ -1090,23 +1187,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) { + public Builder setTransactionTagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + transactionTag_ = 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); } @@ -1116,12 +1213,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(); } @@ -1130,27 +1227,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; @@ -1165,6 +1262,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 d2071d540d5..ec16a707525 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.
    * 
@@ -90,6 +118,8 @@ public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() { public static final int ROWS_FIELD_NUMBER = 2; 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
@@ -106,6 +136,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
@@ -118,11 +150,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
@@ -139,6 +172,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
@@ -155,6 +190,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
@@ -167,14 +204,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
@@ -187,6 +225,7 @@ public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(
    * 
* * .google.spanner.v1.ResultSetStats stats = 3; + * * @return Whether the stats field is set. */ @java.lang.Override @@ -194,6 +233,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
@@ -206,6 +247,7 @@ public boolean hasStats() {
    * 
* * .google.spanner.v1.ResultSetStats stats = 3; + * * @return The stats. */ @java.lang.Override @@ -213,6 +255,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
@@ -232,6 +276,7 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -243,8 +288,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -264,16 +308,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;
@@ -283,7 +324,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);
@@ -292,15 +333,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;
@@ -330,97 +368,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].
@@ -428,33 +472,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 +523,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
@@ -531,38 +573,39 @@ public com.google.spanner.v1.ResultSet buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -592,9 +635,10 @@ public Builder mergeFrom(com.google.spanner.v1.ResultSet other) {
             rowsBuilder_ = null;
             rows_ = other.rows_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            rowsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRowsFieldBuilder() : null;
+            rowsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRowsFieldBuilder()
+                    : null;
           } else {
             rowsBuilder_.addAllMessages(other.rows_);
           }
@@ -629,39 +673,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getMetadataFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry);
 
-              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);
+                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);
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -671,38 +713,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 metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * 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.
      * 
@@ -723,14 +779,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(); onChanged(); @@ -741,6 +798,8 @@ public Builder setMetadata( return this; } /** + * + * *
      * Metadata about the result set, such as row type information.
      * 
@@ -751,7 +810,9 @@ public Builder mergeMetadata(com.google.spanner.v1.ResultSetMetadata value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.spanner.v1.ResultSetMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); + com.google.spanner.v1.ResultSetMetadata.newBuilder(metadata_) + .mergeFrom(value) + .buildPartial(); } else { metadata_ = value; } @@ -763,6 +824,8 @@ public Builder mergeMetadata(com.google.spanner.v1.ResultSetMetadata value) { return this; } /** + * + * *
      * Metadata about the result set, such as row type information.
      * 
@@ -781,6 +844,8 @@ public Builder clearMetadata() { return this; } /** + * + * *
      * Metadata about the result set, such as row type information.
      * 
@@ -788,11 +853,13 @@ public Builder clearMetadata() { * .google.spanner.v1.ResultSetMetadata metadata = 1; */ public com.google.spanner.v1.ResultSetMetadata.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Metadata about the result set, such as row type information.
      * 
@@ -803,11 +870,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.
      * 
@@ -815,32 +885,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_ & 0x00000001) != 0)) { rows_ = new java.util.ArrayList(rows_); bitField0_ |= 0x00000001; - } + } } 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
@@ -860,6 +938,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
@@ -879,6 +959,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
@@ -898,6 +980,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
@@ -909,8 +993,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();
@@ -924,6 +1007,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
@@ -935,8 +1020,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());
@@ -947,6 +1031,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
@@ -972,6 +1058,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
@@ -983,8 +1071,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();
@@ -998,6 +1085,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
@@ -1009,8 +1098,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());
@@ -1021,6 +1109,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
@@ -1032,8 +1122,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());
@@ -1044,6 +1133,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
@@ -1055,12 +1146,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);
@@ -1068,6 +1157,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
@@ -1090,6 +1181,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
@@ -1112,6 +1205,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
@@ -1123,11 +1218,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
@@ -1139,14 +1235,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
@@ -1158,8 +1256,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 {
@@ -1167,6 +1264,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
@@ -1179,10 +1278,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
@@ -1194,12 +1294,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
@@ -1211,20 +1312,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_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        rowsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.protobuf.ListValue,
+                com.google.protobuf.ListValue.Builder,
+                com.google.protobuf.ListValueOrBuilder>(
+                rows_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         rows_ = null;
       }
       return rowsBuilder_;
@@ -1232,8 +1335,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
@@ -1246,12 +1354,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 statsBuilder_ != null || stats_ != null; } /** + * + * *
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1264,6 +1375,7 @@ public boolean hasStats() {
      * 
* * .google.spanner.v1.ResultSetStats stats = 3; + * * @return The stats. */ public com.google.spanner.v1.ResultSetStats getStats() { @@ -1274,6 +1386,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
@@ -1301,6 +1415,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
@@ -1314,8 +1430,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();
         onChanged();
@@ -1326,6 +1441,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
@@ -1343,7 +1460,9 @@ public Builder mergeStats(com.google.spanner.v1.ResultSetStats value) {
       if (statsBuilder_ == null) {
         if (stats_ != null) {
           stats_ =
-            com.google.spanner.v1.ResultSetStats.newBuilder(stats_).mergeFrom(value).buildPartial();
+              com.google.spanner.v1.ResultSetStats.newBuilder(stats_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           stats_ = value;
         }
@@ -1355,6 +1474,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
@@ -1380,6 +1501,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
@@ -1394,11 +1517,13 @@ public Builder clearStats() {
      * .google.spanner.v1.ResultSetStats stats = 3;
      */
     public com.google.spanner.v1.ResultSetStats.Builder getStatsBuilder() {
-      
+
       onChanged();
       return getStatsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1416,11 +1541,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
@@ -1435,21 +1561,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);
     }
 
@@ -1459,12 +1588,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();
   }
@@ -1473,27 +1602,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;
@@ -1508,6 +1637,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 77%
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 ed6966570d3..05ce99529ac 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.
@@ -147,6 +183,8 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() {
   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 +198,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 +206,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 +221,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
@@ -207,6 +253,7 @@ public com.google.spanner.v1.StructTypeOrBuilder getUndeclaredParametersOrBuilde
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -218,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 {
     if (rowType_ != null) {
       output.writeMessage(1, getRowType());
     }
@@ -239,16 +285,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 +302,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 +311,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 +349,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(); @@ -457,9 +504,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 @@ -478,7 +525,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); + com.google.spanner.v1.ResultSetMetadata result = + new com.google.spanner.v1.ResultSetMetadata(this); if (rowTypeBuilder_ == null) { result.rowType_ = rowType_; } else { @@ -502,38 +550,39 @@ public com.google.spanner.v1.ResultSetMetadata buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -577,33 +626,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getRowTypeFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getRowTypeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getTransactionFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - input.readMessage( - getUndeclaredParametersFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage( + getUndeclaredParametersFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -616,8 +664,13 @@ public Builder mergeFrom( 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
@@ -629,12 +682,15 @@ public Builder mergeFrom(
      * 
* * .google.spanner.v1.StructType row_type = 1; + * * @return Whether the rowType field is set. */ public boolean hasRowType() { return rowTypeBuilder_ != null || 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
@@ -646,6 +702,7 @@ public boolean hasRowType() {
      * 
* * .google.spanner.v1.StructType row_type = 1; + * * @return The rowType. */ public com.google.spanner.v1.StructType getRowType() { @@ -656,6 +713,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
@@ -682,6 +741,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
@@ -694,8 +755,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();
         onChanged();
@@ -706,6 +766,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
@@ -722,7 +784,7 @@ public Builder mergeRowType(com.google.spanner.v1.StructType value) {
       if (rowTypeBuilder_ == null) {
         if (rowType_ != null) {
           rowType_ =
-            com.google.spanner.v1.StructType.newBuilder(rowType_).mergeFrom(value).buildPartial();
+              com.google.spanner.v1.StructType.newBuilder(rowType_).mergeFrom(value).buildPartial();
         } else {
           rowType_ = value;
         }
@@ -734,6 +796,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
@@ -758,6 +822,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
@@ -771,11 +837,13 @@ public Builder clearRowType() {
      * .google.spanner.v1.StructType row_type = 1;
      */
     public com.google.spanner.v1.StructType.Builder getRowTypeBuilder() {
-      
+
       onChanged();
       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
@@ -792,11 +860,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
@@ -810,14 +879,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_;
@@ -825,36 +897,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 transactionBuilder_ != null || 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. */ 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.
@@ -876,6 +961,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.
@@ -883,8 +970,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();
         onChanged();
@@ -895,6 +981,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.
@@ -906,7 +994,9 @@ public Builder mergeTransaction(com.google.spanner.v1.Transaction value) {
       if (transactionBuilder_ == null) {
         if (transaction_ != null) {
           transaction_ =
-            com.google.spanner.v1.Transaction.newBuilder(transaction_).mergeFrom(value).buildPartial();
+              com.google.spanner.v1.Transaction.newBuilder(transaction_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           transaction_ = value;
         }
@@ -918,6 +1008,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.
@@ -937,6 +1029,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.
@@ -945,11 +1039,13 @@ public Builder clearTransaction() {
      * .google.spanner.v1.Transaction transaction = 2;
      */
     public com.google.spanner.v1.Transaction.Builder getTransactionBuilder() {
-      
+
       onChanged();
       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.
@@ -961,11 +1057,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.
@@ -974,14 +1073,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_;
@@ -989,8 +1091,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
@@ -1004,12 +1111,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 undeclaredParametersBuilder_ != null || 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
@@ -1023,16 +1133,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
@@ -1061,6 +1176,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
@@ -1087,6 +1204,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
@@ -1105,7 +1224,9 @@ public Builder mergeUndeclaredParameters(com.google.spanner.v1.StructType value)
       if (undeclaredParametersBuilder_ == null) {
         if (undeclaredParameters_ != null) {
           undeclaredParameters_ =
-            com.google.spanner.v1.StructType.newBuilder(undeclaredParameters_).mergeFrom(value).buildPartial();
+              com.google.spanner.v1.StructType.newBuilder(undeclaredParameters_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           undeclaredParameters_ = value;
         }
@@ -1117,6 +1238,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
@@ -1143,6 +1266,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
@@ -1158,11 +1283,13 @@ public Builder clearUndeclaredParameters() {
      * .google.spanner.v1.StructType undeclared_parameters = 3;
      */
     public com.google.spanner.v1.StructType.Builder getUndeclaredParametersBuilder() {
-      
+
       onChanged();
       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
@@ -1181,11 +1308,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
@@ -1201,21 +1331,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);
     }
 
@@ -1225,12 +1358,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();
   }
@@ -1239,27 +1372,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;
@@ -1274,6 +1407,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..3c90e33d825
--- /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\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/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 74%
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 e881a2f2f25..1770fe8f324 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(); @@ -521,9 +568,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 @@ -568,38 +615,39 @@ public com.google.spanner.v1.ResultSetStats buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -615,17 +663,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(); @@ -653,36 +704,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getQueryPlanFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getQueryPlanFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getQueryStatsFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getQueryStatsFieldBuilder().getBuilder(), extensionRegistry); - 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: + 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) { @@ -692,12 +744,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() { @@ -707,37 +759,49 @@ public Builder clearRowCount() { return this; } - 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 queryPlanBuilder_ != null || queryPlan_ != null; } /** + * + * *
      * [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.
      * 
@@ -758,14 +822,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(); onChanged(); @@ -776,6 +841,8 @@ public Builder setQueryPlan( return this; } /** + * + * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -786,7 +853,9 @@ public Builder mergeQueryPlan(com.google.spanner.v1.QueryPlan value) { if (queryPlanBuilder_ == null) { if (queryPlan_ != null) { queryPlan_ = - com.google.spanner.v1.QueryPlan.newBuilder(queryPlan_).mergeFrom(value).buildPartial(); + com.google.spanner.v1.QueryPlan.newBuilder(queryPlan_) + .mergeFrom(value) + .buildPartial(); } else { queryPlan_ = value; } @@ -798,6 +867,8 @@ public Builder mergeQueryPlan(com.google.spanner.v1.QueryPlan value) { return this; } /** + * + * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -816,6 +887,8 @@ public Builder clearQueryPlan() { return this; } /** + * + * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -823,11 +896,13 @@ public Builder clearQueryPlan() { * .google.spanner.v1.QueryPlan query_plan = 1; */ public com.google.spanner.v1.QueryPlan.Builder getQueryPlanBuilder() { - + onChanged(); return getQueryPlanFieldBuilder().getBuilder(); } /** + * + * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -838,11 +913,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.
      * 
@@ -850,14 +928,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_; @@ -865,8 +946,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
@@ -879,12 +965,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 queryStatsBuilder_ != null || 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
@@ -897,6 +986,7 @@ public boolean hasQueryStats() {
      * 
* * .google.protobuf.Struct query_stats = 2; + * * @return The queryStats. */ public com.google.protobuf.Struct getQueryStats() { @@ -907,6 +997,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
@@ -934,6 +1026,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
@@ -947,8 +1041,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();
         onChanged();
@@ -959,6 +1052,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
@@ -976,7 +1071,7 @@ public Builder mergeQueryStats(com.google.protobuf.Struct value) {
       if (queryStatsBuilder_ == null) {
         if (queryStats_ != null) {
           queryStats_ =
-            com.google.protobuf.Struct.newBuilder(queryStats_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Struct.newBuilder(queryStats_).mergeFrom(value).buildPartial();
         } else {
           queryStats_ = value;
         }
@@ -988,6 +1083,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
@@ -1013,6 +1110,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
@@ -1027,11 +1126,13 @@ public Builder clearQueryStats() {
      * .google.protobuf.Struct query_stats = 2;
      */
     public com.google.protobuf.Struct.Builder getQueryStatsBuilder() {
-      
+
       onChanged();
       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
@@ -1049,11 +1150,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
@@ -1068,36 +1170,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() { @@ -1107,11 +1218,14 @@ 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. */ @@ -1122,11 +1236,14 @@ public Builder setRowCountExact(long value) { 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() { @@ -1139,24 +1256,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() { @@ -1166,12 +1289,15 @@ 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. */ @@ -1182,12 +1308,15 @@ public Builder setRowCountLowerBound(long value) { 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() { @@ -1198,9 +1327,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); } @@ -1210,12 +1339,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(); } @@ -1224,27 +1353,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; @@ -1259,6 +1388,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 64% 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 ffddffd6da9..c9ef0589e82 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,37 +44,43 @@ 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; 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 @@ -65,29 +89,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 { @@ -98,11 +124,14 @@ public java.lang.String getSession() { public static final int TRANSACTION_ID_FIELD_NUMBER = 2; private com.google.protobuf.ByteString transactionId_; /** + * + * *
    * Required. The transaction to roll back.
    * 
* * bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The transactionId. */ @java.lang.Override @@ -111,6 +140,7 @@ public com.google.protobuf.ByteString getTransactionId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -122,8 +152,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -143,8 +172,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; @@ -154,17 +182,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -185,130 +211,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 +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_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,7 +372,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); + com.google.spanner.v1.RollbackRequest result = + new com.google.spanner.v1.RollbackRequest(this); result.session_ = session_; result.transactionId_ = transactionId_; onBuilt(); @@ -352,38 +384,39 @@ public com.google.spanner.v1.RollbackRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -425,22 +458,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - session_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - transactionId_ = input.readBytes(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + session_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + transactionId_ = input.readBytes(); + + 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) { @@ -453,18 +489,22 @@ public Builder mergeFrom( 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; @@ -473,20 +513,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 { @@ -494,54 +537,67 @@ 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) { + public Builder setSession(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + session_ = value; 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() { - + session_ = getDefaultInstance().getSession(); 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) = { ... } + * + * * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes( - com.google.protobuf.ByteString value) { + public Builder setSessionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + session_ = value; onChanged(); return this; @@ -549,11 +605,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 @@ -561,40 +620,46 @@ 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(); - } - + throw new NullPointerException(); + } + transactionId_ = value; 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() { - + transactionId_ = getDefaultInstance().getTransactionId(); onChanged(); return this; } + @java.lang.Override - 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,12 +669,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(); } @@ -618,27 +683,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; @@ -653,6 +718,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 da7e93202d0..681e8ee9925 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,37 +44,35 @@ 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); } @@ -64,11 +80,14 @@ protected com.google.protobuf.MapField internalGetMapField( public static final int NAME_FIELD_NUMBER = 1; 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 @@ -77,29 +96,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 { @@ -108,24 +127,23 @@ 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, + ""); } - 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_; } @@ -134,6 +152,8 @@ 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
@@ -146,22 +166,22 @@ 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
@@ -175,11 +195,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 2;
    */
   @java.lang.Override
-
   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
@@ -193,16 +214,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 2;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -216,12 +237,11 @@ public 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();
     }
@@ -231,11 +251,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 @@ -243,11 +267,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 @@ -255,11 +283,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() { @@ -269,12 +300,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 @@ -282,25 +318,36 @@ 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() { @@ -310,11 +357,14 @@ public com.google.protobuf.TimestampOrBuilder getApproximateLastUseTimeOrBuilder public static final int CREATOR_ROLE_FIELD_NUMBER = 5; 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 +373,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 +404,7 @@ public java.lang.String getCreatorRole() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -365,17 +416,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 +443,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 +471,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 +521,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(); @@ -651,9 +693,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 @@ -696,38 +738,39 @@ public com.google.spanner.v1.Session buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -740,8 +783,7 @@ public Builder mergeFrom(com.google.spanner.v1.Session other) { name_ = other.name_; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -778,44 +820,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } // case 18 - case 26: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 34: { - input.readMessage( - getApproximateLastUseTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 34 - case 42: { - creatorRole_ = input.readStringRequireUtf8(); - - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + break; + } // case 18 + case 26: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 34: + { + input.readMessage( + getApproximateLastUseTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 34 + case 42: + { + creatorRole_ = input.readStringRequireUtf8(); + + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -825,22 +872,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; @@ -849,20 +899,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 { @@ -870,75 +921,81 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -950,6 +1007,8 @@ 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
@@ -962,22 +1021,22 @@ 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
@@ -991,11 +1050,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 2;
      */
     @java.lang.Override
-
     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
@@ -1009,16 +1069,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 2;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The labels for the session.
      *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -1032,12 +1093,11 @@ public 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();
       }
@@ -1045,11 +1105,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      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
@@ -1062,23 +1123,21 @@ 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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The labels for the session.
      *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -1091,19 +1150,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"); }
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The labels for the session.
      *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -1116,49 +1176,65 @@ 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);
       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 createTimeBuilder_ != null || 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. */ 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) { @@ -1174,14 +1250,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(); onChanged(); @@ -1192,17 +1271,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1214,11 +1297,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() { if (createTimeBuilder_ == null) { @@ -1232,48 +1319,64 @@ 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() { - + onChanged(); 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_; @@ -1281,42 +1384,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 approximateLastUseTimeBuilder_ != null || 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. */ 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) { @@ -1332,12 +1454,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) { @@ -1351,18 +1477,24 @@ 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 (approximateLastUseTime_ != null) { approximateLastUseTime_ = - com.google.protobuf.Timestamp.newBuilder(approximateLastUseTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(approximateLastUseTime_) + .mergeFrom(value) + .buildPartial(); } else { approximateLastUseTime_ = value; } @@ -1374,12 +1506,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() { if (approximateLastUseTimeBuilder_ == null) { @@ -1393,51 +1529,67 @@ 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() { - + onChanged(); 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_; @@ -1445,18 +1597,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; @@ -1465,20 +1619,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 { @@ -1486,61 +1641,68 @@ 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) { + public Builder setCreatorRole(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + creatorRole_ = value; onChanged(); return this; } /** + * + * *
      * The database role which created this session.
      * 
* * string creator_role = 5; + * * @return This builder for chaining. */ public Builder clearCreatorRole() { - + creatorRole_ = getDefaultInstance().getCreatorRole(); onChanged(); 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) { + public Builder setCreatorRoleBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + creatorRole_ = 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); } @@ -1550,12 +1712,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(); } @@ -1564,27 +1726,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; @@ -1599,6 +1761,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 7504720e3e5..b0b8accd8ca 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
@@ -92,11 +116,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -109,84 +135,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..21c752c5631 --- /dev/null +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java @@ -0,0 +1,649 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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\"" + + "\344\005\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\032O\n\014QueryOptions\022\031\n\021opt" + + "imizer_version\030\001 \001(\t\022$\n\034optimizer_statis" + + "tics_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.spann" + + "er.v1.Type:\0028\001\".\n\tQueryMode\022\n\n\006NORMAL\020\000\022" + + "\010\n\004PLAN\020\001\022\013\n\007PROFILE\020\002\"\240\004\n\026ExecuteBatchD" + + "mlRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036span" + + "ner.googleapis.com/Session\022@\n\013transactio" + + "n\030\002 \001(\0132&.google.spanner.v1.TransactionS" + + "electorB\003\340A\002\022L\n\nstatements\030\003 \003(\01323.googl" + + "e.spanner.v1.ExecuteBatchDmlRequest.Stat" + + "ementB\003\340A\002\022\022\n\005seqno\030\004 \001(\003B\003\340A\002\022:\n\017reques" + + "t_options\030\005 \001(\0132!.google.spanner.v1.Requ" + + "estOptions\032\354\001\n\tStatement\022\020\n\003sql\030\001 \001(\tB\003\340" + + "A\002\022\'\n\006params\030\002 \001(\0132\027.google.protobuf.Str" + + "uct\022X\n\013param_types\030\003 \003(\0132C.google.spanne" + + "r.v1.ExecuteBatchDmlRequest.Statement.Pa" + + "ramTypesEntry\032J\n\017ParamTypesEntry\022\013\n\003key\030" + + "\001 \001(\t\022&\n\005value\030\002 \001(\0132\027.google.spanner.v1" + + ".Type:\0028\001\"p\n\027ExecuteBatchDmlResponse\0221\n\013" + + "result_sets\030\001 \003(\0132\034.google.spanner.v1.Re" + + "sultSet\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Sta" + + "tus\"H\n\020PartitionOptions\022\034\n\024partition_siz" + + "e_bytes\030\001 \001(\003\022\026\n\016max_partitions\030\002 \001(\003\"\243\003" + + "\n\025PartitionQueryRequest\0227\n\007session\030\001 \001(\t" + + "B&\340A\002\372A \n\036spanner.googleapis.com/Session" + + "\022;\n\013transaction\030\002 \001(\0132&.google.spanner.v" + + "1.TransactionSelector\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_types\030\005 \003(\01328.google.spanner.v" + + "1.PartitionQueryRequest.ParamTypesEntry\022" + + ">\n\021partition_options\030\006 \001(\0132#.google.span" + + "ner.v1.PartitionOptions\032J\n\017ParamTypesEnt" + + "ry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027.google." + + "spanner.v1.Type:\0028\001\"\261\002\n\024PartitionReadReq" + + "uest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.g" + + "oogleapis.com/Session\022;\n\013transaction\030\002 \001" + + "(\0132&.google.spanner.v1.TransactionSelect" + + "or\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_opt" + + "ions\030\t \001(\0132#.google.spanner.v1.Partition" + + "Options\"$\n\tPartition\022\027\n\017partition_token\030" + + "\001 \001(\014\"z\n\021PartitionResponse\0220\n\npartitions" + + "\030\001 \003(\0132\034.google.spanner.v1.Partition\0223\n\013" + + "transaction\030\002 \001(\0132\036.google.spanner.v1.Tr" + + "ansaction\"\347\002\n\013ReadRequest\0227\n\007session\030\001 \001" + + "(\tB&\340A\002\372A \n\036spanner.googleapis.com/Sessi" + + "on\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\024\n\007columns\030\005 \003(\tB\003\340A\002" + + "\022/\n\007key_set\030\006 \001(\0132\031.google.spanner.v1.Ke" + + "ySetB\003\340A\002\022\r\n\005limit\030\010 \001(\003\022\024\n\014resume_token" + + "\030\t \001(\014\022\027\n\017partition_token\030\n \001(\014\022:\n\017reque" + + "st_options\030\013 \001(\0132!.google.spanner.v1.Req" + + "uestOptions\"\313\001\n\027BeginTransactionRequest\022" + + "7\n\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.google" + + "apis.com/Session\022;\n\007options\030\002 \001(\0132%.goog" + + "le.spanner.v1.TransactionOptionsB\003\340A\002\022:\n" + + "\017request_options\030\003 \001(\0132!.google.spanner." + + "v1.RequestOptions\"\303\002\n\rCommitRequest\0227\n\007s" + + "ession\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleapis" + + ".com/Session\022\030\n\016transaction_id\030\002 \001(\014H\000\022G" + + "\n\026single_use_transaction\030\003 \001(\0132%.google." + + "spanner.v1.TransactionOptionsH\000\022.\n\tmutat" + + "ions\030\004 \003(\0132\033.google.spanner.v1.Mutation\022" + + "\033\n\023return_commit_stats\030\005 \001(\010\022:\n\017request_" + + "options\030\006 \001(\0132!.google.spanner.v1.Reques" + + "tOptionsB\r\n\013transaction\"g\n\017RollbackReque" + + "st\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.goo" + + "gleapis.com/Session\022\033\n\016transaction_id\030\002 " + + "\001(\014B\003\340A\0022\300\026\n\007Spanner\022\246\001\n\rCreateSession\022\'" + + ".google.spanner.v1.CreateSessionRequest\032" + + "\032.google.spanner.v1.Session\"P\202\323\344\223\002?\":/v1" + + "/{database=projects/*/instances/*/databa" + + "ses/*}/sessions:\001*\332A\010database\022\340\001\n\023BatchC" + + "reateSessions\022-.google.spanner.v1.BatchC" + + "reateSessionsRequest\032..google.spanner.v1" + + ".BatchCreateSessionsResponse\"j\202\323\344\223\002K\"F/v" + + "1/{database=projects/*/instances/*/datab" + + "ases/*}/sessions:batchCreate:\001*\332A\026databa" + + "se,session_count\022\227\001\n\nGetSession\022$.google" + + ".spanner.v1.GetSessionRequest\032\032.google.s" + + "panner.v1.Session\"G\202\323\344\223\002:\0228/v1/{name=pro" + + "jects/*/instances/*/databases/*/sessions" + + "/*}\332A\004name\022\256\001\n\014ListSessions\022&.google.spa" + + "nner.v1.ListSessionsRequest\032\'.google.spa" + + "nner.v1.ListSessionsResponse\"M\202\323\344\223\002<\022:/v" + + "1/{database=projects/*/instances/*/datab" + + "ases/*}/sessions\332A\010database\022\231\001\n\rDeleteSe" + + "ssion\022\'.google.spanner.v1.DeleteSessionR" + + "equest\032\026.google.protobuf.Empty\"G\202\323\344\223\002:*8" + + "/v1/{name=projects/*/instances/*/databas" + + "es/*/sessions/*}\332A\004name\022\243\001\n\nExecuteSql\022$" + + ".google.spanner.v1.ExecuteSqlRequest\032\034.g" + + "oogle.spanner.v1.ResultSet\"Q\202\323\344\223\002K\"F/v1/" + + "{session=projects/*/instances/*/database" + + "s/*/sessions/*}:executeSql:\001*\022\276\001\n\023Execut" + + "eStreamingSql\022$.google.spanner.v1.Execut" + + "eSqlRequest\032#.google.spanner.v1.PartialR" + + "esultSet\"Z\202\323\344\223\002T\"O/v1/{session=projects/" + + "*/instances/*/databases/*/sessions/*}:ex" + + "ecuteStreamingSql:\001*0\001\022\300\001\n\017ExecuteBatchD" + + "ml\022).google.spanner.v1.ExecuteBatchDmlRe" + + "quest\032*.google.spanner.v1.ExecuteBatchDm" + + "lResponse\"V\202\323\344\223\002P\"K/v1/{session=projects" + + "/*/instances/*/databases/*/sessions/*}:e" + + "xecuteBatchDml:\001*\022\221\001\n\004Read\022\036.google.span" + + "ner.v1.ReadRequest\032\034.google.spanner.v1.R" + + "esultSet\"K\202\323\344\223\002E\"@/v1/{session=projects/" + + "*/instances/*/databases/*/sessions/*}:re" + + "ad:\001*\022\254\001\n\rStreamingRead\022\036.google.spanner" + + ".v1.ReadRequest\032#.google.spanner.v1.Part" + + "ialResultSet\"T\202\323\344\223\002N\"I/v1/{session=proje" + + "cts/*/instances/*/databases/*/sessions/*" + + "}:streamingRead:\001*0\001\022\311\001\n\020BeginTransactio" + + "n\022*.google.spanner.v1.BeginTransactionRe" + + "quest\032\036.google.spanner.v1.Transaction\"i\202" + + "\323\344\223\002Q\"L/v1/{session=projects/*/instances" + + "/*/databases/*/sessions/*}:beginTransact" + + "ion:\001*\332A\017session,options\022\353\001\n\006Commit\022 .go" + + "ogle.spanner.v1.CommitRequest\032!.google.s" + + "panner.v1.CommitResponse\"\233\001\202\323\344\223\002G\"B/v1/{" + + "session=projects/*/instances/*/databases" + + "/*/sessions/*}:commit:\001*\332A session,trans" + + "action_id,mutations\332A(session,single_use" + + "_transaction,mutations\022\260\001\n\010Rollback\022\".go" + + "ogle.spanner.v1.RollbackRequest\032\026.google" + + ".protobuf.Empty\"h\202\323\344\223\002I\"D/v1/{session=pr" + + "ojects/*/instances/*/databases/*/session" + + "s/*}:rollback:\001*\332A\026session,transaction_i" + + "d\022\267\001\n\016PartitionQuery\022(.google.spanner.v1" + + ".PartitionQueryRequest\032$.google.spanner." + + "v1.PartitionResponse\"U\202\323\344\223\002O\"J/v1/{sessi" + + "on=projects/*/instances/*/databases/*/se" + + "ssions/*}:partitionQuery:\001*\022\264\001\n\rPartitio" + + "nRead\022\'.google.spanner.v1.PartitionReadR" + + "equest\032$.google.spanner.v1.PartitionResp" + + "onse\"T\202\323\344\223\002N\"I/v1/{session=projects/*/in" + + "stances/*/databases/*/sessions/*}:partit" + + "ionRead:\001*\032w\312A\026spanner.googleapis.com\322A[" + + "https://www.googleapis.com/auth/cloud-pl" + + "atform,https://www.googleapis.com/auth/s" + + "panner.dataB\224\002\n\025com.google.spanner.v1B\014S" + + "pannerProtoP\001Z8google.golang.org/genprot" + + "o/googleapis/spanner/v1;spanner\252\002\027Google" + + ".Cloud.Spanner.V1\312\002\027Google\\Cloud\\Spanner" + + "\\V1\352\002\032Google::Cloud::Spanner::V1\352A_\n\037spa" + + "nner.googleapis.com/Database\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,53 +143,59 @@ 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; 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
@@ -170,6 +207,7 @@ protected java.lang.Object newInstance(
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -178,14 +216,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
@@ -197,16 +236,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 { @@ -217,11 +255,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 @@ -229,11 +270,14 @@ public boolean hasType() { return type_ != null; } /** + * + * *
      * The type of the field.
      * 
* * .google.spanner.v1.Type type = 2; + * * @return The type. */ @java.lang.Override @@ -241,6 +285,8 @@ public com.google.spanner.v1.Type getType() { return type_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : type_; } /** + * + * *
      * The type of the field.
      * 
@@ -253,6 +299,7 @@ public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,8 +311,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -285,8 +331,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; @@ -296,19 +341,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; @@ -332,88 +375,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 @@ -423,39 +472,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 +522,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,7 +543,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); + com.google.spanner.v1.StructType.Field result = + new com.google.spanner.v1.StructType.Field(this); result.name_ = name_; if (typeBuilder_ == null) { result.type_ = type_; @@ -507,38 +559,41 @@ public com.google.spanner.v1.StructType.Field 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.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; @@ -580,24 +635,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getTypeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getTypeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -610,6 +666,8 @@ public Builder mergeFrom( 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
@@ -621,13 +679,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; @@ -636,6 +694,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
@@ -647,15 +707,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 { @@ -663,6 +722,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
@@ -674,20 +735,22 @@ public java.lang.String getName() {
        * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * The name of the field. For reads, this is the column name. For
        * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -699,15 +762,18 @@ public Builder setName(
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); 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
@@ -719,16 +785,16 @@ public Builder clearName() {
        * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -736,24 +802,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 typeBuilder_ != null || type_ != null; } /** + * + * *
        * The type of the field.
        * 
* * .google.spanner.v1.Type type = 2; + * * @return The type. */ public com.google.spanner.v1.Type getType() { @@ -764,6 +839,8 @@ public com.google.spanner.v1.Type getType() { } } /** + * + * *
        * The type of the field.
        * 
@@ -784,14 +861,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(); onChanged(); @@ -802,6 +880,8 @@ public Builder setType( return this; } /** + * + * *
        * The type of the field.
        * 
@@ -811,8 +891,7 @@ public Builder setType( public Builder mergeType(com.google.spanner.v1.Type value) { if (typeBuilder_ == null) { if (type_ != null) { - type_ = - com.google.spanner.v1.Type.newBuilder(type_).mergeFrom(value).buildPartial(); + type_ = com.google.spanner.v1.Type.newBuilder(type_).mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -824,6 +903,8 @@ public Builder mergeType(com.google.spanner.v1.Type value) { return this; } /** + * + * *
        * The type of the field.
        * 
@@ -842,6 +923,8 @@ public Builder clearType() { return this; } /** + * + * *
        * The type of the field.
        * 
@@ -849,11 +932,13 @@ public Builder clearType() { * .google.spanner.v1.Type type = 2; */ public com.google.spanner.v1.Type.Builder getTypeBuilder() { - + onChanged(); return getTypeFieldBuilder().getBuilder(); } /** + * + * *
        * The type of the field.
        * 
@@ -864,11 +949,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.
        * 
@@ -876,18 +962,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) { @@ -900,12 +990,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(); } @@ -914,27 +1004,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; @@ -949,12 +1040,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; 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
@@ -971,6 +1063,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
@@ -983,11 +1077,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
@@ -1004,6 +1100,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
@@ -1020,6 +1118,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
@@ -1032,12 +1132,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;
@@ -1049,8 +1149,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
     }
@@ -1064,8 +1163,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;
@@ -1075,15 +1173,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;
   }
@@ -1104,130 +1201,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(); @@ -1242,9 +1344,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 @@ -1282,38 +1384,39 @@ public com.google.spanner.v1.StructType buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -1340,9 +1443,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_); } @@ -1374,25 +1478,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) { @@ -1402,21 +1507,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
@@ -1436,6 +1548,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
@@ -1455,6 +1569,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
@@ -1474,6 +1590,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
@@ -1485,8 +1603,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();
@@ -1500,6 +1617,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
@@ -1523,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
@@ -1548,6 +1669,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
@@ -1559,8 +1682,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();
@@ -1574,6 +1696,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
@@ -1585,8 +1709,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());
@@ -1597,6 +1720,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
@@ -1620,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,8 +1762,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);
@@ -1644,6 +1770,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
@@ -1666,6 +1794,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
@@ -1688,6 +1818,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
@@ -1699,11 +1831,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
@@ -1715,14 +1848,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
@@ -1734,8 +1869,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 {
@@ -1743,6 +1878,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
@@ -1755,10 +1892,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
@@ -1770,12 +1909,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
@@ -1787,27 +1927,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);
     }
 
@@ -1817,12 +1959,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();
   }
@@ -1831,27 +1973,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;
@@ -1866,6 +2008,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 73%
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 aa4ff77f9ff..a87532926fb 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_; /** + * + * *
    * `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
@@ -120,6 +152,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -131,8 +164,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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 +181,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 +194,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 +228,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(); @@ -339,9 +372,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 @@ -375,38 +408,39 @@ public com.google.spanner.v1.Transaction buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -447,24 +481,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - id_ = input.readBytes(); - - break; - } // case 10 - case 18: { - input.readMessage( - getReadTimestampFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + id_ = input.readBytes(); + + break; + } // case 10 + case 18: + { + input.readMessage(getReadTimestampFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -477,6 +512,8 @@ public Builder mergeFrom( 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],
@@ -488,6 +525,7 @@ public Builder mergeFrom(
      * 
* * bytes id = 1; + * * @return The id. */ @java.lang.Override @@ -495,6 +533,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],
@@ -506,19 +546,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(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
      * `id` may be used to identify the transaction in subsequent
      * [Read][google.spanner.v1.Spanner.Read],
@@ -530,10 +573,11 @@ public Builder setId(com.google.protobuf.ByteString value) {
      * 
* * bytes id = 1; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; @@ -541,8 +585,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
@@ -552,12 +601,15 @@ public Builder clearId() {
      * 
* * .google.protobuf.Timestamp read_timestamp = 2; + * * @return Whether the readTimestamp field is set. */ public boolean hasReadTimestamp() { return readTimestampBuilder_ != null || readTimestamp_ != null; } /** + * + * *
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -567,16 +619,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
@@ -601,6 +658,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
@@ -611,8 +670,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();
         onChanged();
@@ -623,6 +681,8 @@ public Builder setReadTimestamp(
       return this;
     }
     /**
+     *
+     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -637,7 +697,9 @@ public Builder mergeReadTimestamp(com.google.protobuf.Timestamp value) {
       if (readTimestampBuilder_ == null) {
         if (readTimestamp_ != null) {
           readTimestamp_ =
-            com.google.protobuf.Timestamp.newBuilder(readTimestamp_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(readTimestamp_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           readTimestamp_ = value;
         }
@@ -649,6 +711,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
@@ -671,6 +735,8 @@ public Builder clearReadTimestamp() {
       return this;
     }
     /**
+     *
+     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -682,11 +748,13 @@ public Builder clearReadTimestamp() {
      * .google.protobuf.Timestamp read_timestamp = 2;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimestampBuilder() {
-      
+
       onChanged();
       return getReadTimestampFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -701,11 +769,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
@@ -717,21 +788,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);
     }
 
@@ -741,12 +815,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();
   }
@@ -755,27 +829,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;
@@ -790,6 +864,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 f74128abebe..df943898387 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
@@ -258,48 +275,51 @@
  *
  * 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 {
-  }
+      com.google.protobuf.MessageOrBuilder {}
   /**
+   *
+   *
    * 
    * Message type to initiate a read-write transaction. Currently this
    * transaction type has no options.
@@ -307,44 +327,46 @@ 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() {
-    }
+
+    private ReadWrite() {}
 
     @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);
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -356,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 {
       getUnknownFields().writeTo(output);
     }
 
@@ -375,12 +396,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -399,87 +421,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
@@ -489,6 +517,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Message type to initiate a read-write transaction. Currently this
      * transaction type has no options.
@@ -496,33 +526,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();
@@ -530,9 +560,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
@@ -551,7 +581,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);
+        com.google.spanner.v1.TransactionOptions.ReadWrite result =
+            new com.google.spanner.v1.TransactionOptions.ReadWrite(this);
         onBuilt();
         return result;
       }
@@ -560,38 +591,41 @@ public com.google.spanner.v1.TransactionOptions.ReadWrite 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.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;
@@ -599,7 +633,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;
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
         return this;
@@ -626,12 +661,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) {
@@ -641,6 +677,7 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -653,12 +690,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();
     }
@@ -667,27 +704,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;
@@ -702,58 +740,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; @@ -765,8 +806,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -784,12 +824,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; @@ -808,87 +849,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 @@ -898,39 +946,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(); @@ -938,9 +988,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 @@ -959,7 +1009,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; } @@ -968,38 +1019,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; @@ -1007,7 +1061,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; @@ -1034,12 +1089,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) { @@ -1049,6 +1105,7 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1061,12 +1118,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(); } @@ -1075,27 +1132,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; @@ -1110,35 +1168,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
@@ -1150,10 +1216,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
@@ -1165,10 +1234,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
@@ -1184,6 +1256,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
@@ -1199,10 +1273,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
@@ -1218,10 +1295,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
@@ -1241,6 +1321,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
@@ -1255,10 +1337,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
@@ -1273,10 +1358,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
@@ -1295,6 +1383,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.
@@ -1308,10 +1398,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.
@@ -1325,10 +1418,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.
@@ -1346,66 +1442,75 @@ 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 the transaction.
      * 
* * 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), @@ -1414,6 +1519,7 @@ public enum TimestampBoundCase EXACT_STALENESS(5), TIMESTAMPBOUND_NOT_SET(0); private final int value; + private TimestampBoundCase(int value) { this.value = value; } @@ -1429,34 +1535,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 @@ -1464,12 +1579,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 @@ -1482,6 +1600,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
@@ -1493,6 +1613,7 @@ public boolean getStrong() {
      * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; + * * @return Whether the minReadTimestamp field is set. */ @java.lang.Override @@ -1500,6 +1621,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
@@ -1511,16 +1634,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
@@ -1536,13 +1662,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
@@ -1558,6 +1686,7 @@ public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
      * 
* * .google.protobuf.Duration max_staleness = 3; + * * @return Whether the maxStaleness field is set. */ @java.lang.Override @@ -1565,6 +1694,8 @@ public boolean hasMaxStaleness() { return timestampBoundCase_ == 3; } /** + * + * *
      * Read data at a timestamp >= `NOW - max_staleness`
      * seconds. Guarantees that all writes that have committed more
@@ -1580,16 +1711,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
@@ -1609,13 +1743,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
@@ -1630,6 +1766,7 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
      * 
* * .google.protobuf.Timestamp read_timestamp = 4; + * * @return Whether the readTimestamp field is set. */ @java.lang.Override @@ -1637,6 +1774,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
@@ -1651,16 +1790,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
@@ -1679,13 +1821,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.
@@ -1699,6 +1843,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
      * 
* * .google.protobuf.Duration exact_staleness = 5; + * * @return Whether the exactStaleness field is set. */ @java.lang.Override @@ -1706,6 +1851,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.
@@ -1719,16 +1866,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.
@@ -1746,7 +1896,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();
     }
@@ -1754,12 +1904,15 @@ public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
     public static final int RETURN_READ_TIMESTAMP_FIELD_NUMBER = 6;
     private boolean returnReadTimestamp_;
     /**
+     *
+     *
      * 
      * If true, the Cloud Spanner-selected read timestamp is included in
      * the [Transaction][google.spanner.v1.Transaction] message that describes the transaction.
      * 
* * bool return_read_timestamp = 6; + * * @return The returnReadTimestamp. */ @java.lang.Override @@ -1768,6 +1921,7 @@ public boolean getReturnReadTimestamp() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1779,11 +1933,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_); @@ -1810,29 +1962,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; @@ -1842,36 +1997,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: @@ -1888,13 +2038,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; @@ -1921,87 +2069,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 @@ -2011,39 +2165,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(); @@ -2067,9 +2223,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 @@ -2088,7 +2244,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); + com.google.spanner.v1.TransactionOptions.ReadOnly result = + new com.google.spanner.v1.TransactionOptions.ReadOnly(this); if (timestampBoundCase_ == 1) { result.timestampBound_ = timestampBound_; } @@ -2130,38 +2287,41 @@ public com.google.spanner.v1.TransactionOptions.ReadOnly 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.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; @@ -2169,34 +2329,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(); @@ -2224,50 +2391,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(); - - 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(); + + 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) { @@ -2277,12 +2445,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() { @@ -2292,26 +2460,31 @@ public Builder clearTimestampBound() { return this; } - /** + * + * *
        * 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() { @@ -2321,12 +2494,15 @@ 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. */ @@ -2337,12 +2513,15 @@ public Builder setStrong(boolean value) { return this; } /** + * + * *
        * Read at a timestamp where all previously committed transactions
        * are visible.
        * 
* * bool strong = 1; + * * @return This builder for chaining. */ public Builder clearStrong() { @@ -2355,8 +2534,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
@@ -2368,6 +2552,7 @@ public Builder clearStrong() {
        * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; + * * @return Whether the minReadTimestamp field is set. */ @java.lang.Override @@ -2375,6 +2560,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
@@ -2386,6 +2573,7 @@ public boolean hasMinReadTimestamp() {
        * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; + * * @return The minReadTimestamp. */ @java.lang.Override @@ -2403,6 +2591,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
@@ -2429,6 +2619,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
@@ -2441,8 +2633,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();
@@ -2453,6 +2644,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
@@ -2467,10 +2660,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;
           }
@@ -2486,6 +2682,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
@@ -2515,6 +2713,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
@@ -2531,6 +2731,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
@@ -2555,6 +2757,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
@@ -2568,27 +2772,38 @@ 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());
           timestampBound_ = null;
         }
         timestampBoundCase_ = 2;
-        onChanged();;
+        onChanged();
+        ;
         return minReadTimestampBuilder_;
       }
 
       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
@@ -2604,6 +2819,7 @@ public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
        * 
* * .google.protobuf.Duration max_staleness = 3; + * * @return Whether the maxStaleness field is set. */ @java.lang.Override @@ -2611,6 +2827,8 @@ public boolean hasMaxStaleness() { return timestampBoundCase_ == 3; } /** + * + * *
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -2626,6 +2844,7 @@ public boolean hasMaxStaleness() {
        * 
* * .google.protobuf.Duration max_staleness = 3; + * * @return The maxStaleness. */ @java.lang.Override @@ -2643,6 +2862,8 @@ public com.google.protobuf.Duration getMaxStaleness() { } } /** + * + * *
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -2673,6 +2894,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
@@ -2689,8 +2912,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();
@@ -2701,6 +2923,8 @@ public Builder setMaxStaleness(
         return this;
       }
       /**
+       *
+       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -2719,10 +2943,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;
           }
@@ -2738,6 +2965,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
@@ -2771,6 +3000,8 @@ public Builder clearMaxStaleness() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -2791,6 +3022,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
@@ -2819,6 +3052,8 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
         }
       }
       /**
+       *
+       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -2836,27 +3071,38 @@ 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());
           timestampBound_ = null;
         }
         timestampBoundCase_ = 3;
-        onChanged();;
+        onChanged();
+        ;
         return maxStalenessBuilder_;
       }
 
       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
@@ -2871,6 +3117,7 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
        * 
* * .google.protobuf.Timestamp read_timestamp = 4; + * * @return Whether the readTimestamp field is set. */ @java.lang.Override @@ -2878,6 +3125,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
@@ -2892,6 +3141,7 @@ public boolean hasReadTimestamp() {
        * 
* * .google.protobuf.Timestamp read_timestamp = 4; + * * @return The readTimestamp. */ @java.lang.Override @@ -2909,6 +3159,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
@@ -2938,6 +3190,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
@@ -2953,8 +3207,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();
@@ -2965,6 +3218,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
@@ -2982,10 +3237,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;
           }
@@ -3001,6 +3259,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
@@ -3033,6 +3293,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
@@ -3052,6 +3314,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
@@ -3079,6 +3343,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
@@ -3095,27 +3361,38 @@ 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());
           timestampBound_ = null;
         }
         timestampBoundCase_ = 4;
-        onChanged();;
+        onChanged();
+        ;
         return readTimestampBuilder_;
       }
 
       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.
@@ -3129,6 +3406,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
        * 
* * .google.protobuf.Duration exact_staleness = 5; + * * @return Whether the exactStaleness field is set. */ @java.lang.Override @@ -3136,6 +3414,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.
@@ -3149,6 +3429,7 @@ public boolean hasExactStaleness() {
        * 
* * .google.protobuf.Duration exact_staleness = 5; + * * @return The exactStaleness. */ @java.lang.Override @@ -3166,6 +3447,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.
@@ -3194,6 +3477,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.
@@ -3208,8 +3493,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();
@@ -3220,6 +3504,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.
@@ -3236,10 +3522,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;
           }
@@ -3255,6 +3544,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.
@@ -3286,6 +3577,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.
@@ -3304,6 +3597,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.
@@ -3330,6 +3625,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.
@@ -3345,32 +3642,41 @@ 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());
           timestampBound_ = null;
         }
         timestampBoundCase_ = 5;
-        onChanged();;
+        onChanged();
+        ;
         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 the transaction.
        * 
* * bool return_read_timestamp = 6; + * * @return The returnReadTimestamp. */ @java.lang.Override @@ -3378,36 +3684,43 @@ 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 the transaction.
        * 
* * bool return_read_timestamp = 6; + * * @param value The returnReadTimestamp to set. * @return This builder for chaining. */ public Builder setReturnReadTimestamp(boolean value) { - + returnReadTimestamp_ = value; onChanged(); return this; } /** + * + * *
        * If true, the Cloud Spanner-selected read timestamp is included in
        * the [Transaction][google.spanner.v1.Transaction] message that describes the transaction.
        * 
* * bool return_read_timestamp = 6; + * * @return This builder for chaining. */ public Builder clearReturnReadTimestamp() { - + returnReadTimestamp_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3420,12 +3733,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(); } @@ -3434,27 +3747,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; @@ -3469,19 +3783,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; } @@ -3497,26 +3813,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
@@ -3525,6 +3847,7 @@ public int getNumber() {
    * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; + * * @return Whether the readWrite field is set. */ @java.lang.Override @@ -3532,6 +3855,8 @@ public boolean hasReadWrite() { return modeCase_ == 1; } /** + * + * *
    * Transaction may write.
    * Authorization to begin a read-write transaction requires
@@ -3540,16 +3865,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
@@ -3562,13 +3890,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
@@ -3577,6 +3907,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 @@ -3584,6 +3915,8 @@ public boolean hasPartitionedDml() { return modeCase_ == 3; } /** + * + * *
    * Partitioned DML transaction.
    * Authorization to begin a Partitioned DML transaction requires
@@ -3592,16 +3925,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
@@ -3612,15 +3948,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
@@ -3629,6 +3968,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 @@ -3636,6 +3976,8 @@ public boolean hasReadOnly() { return modeCase_ == 2; } /** + * + * *
    * Transaction will not write.
    * Authorization to begin a read-only transaction requires
@@ -3644,16 +3986,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
@@ -3666,12 +4011,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;
@@ -3683,8 +4029,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_);
     }
@@ -3704,16 +4049,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;
@@ -3723,7 +4071,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);
@@ -3733,16 +4081,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:
@@ -3779,97 +4124,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
@@ -4124,33 +4476,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();
@@ -4169,9 +4520,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
@@ -4190,7 +4541,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);
+      com.google.spanner.v1.TransactionOptions result =
+          new com.google.spanner.v1.TransactionOptions(this);
       if (modeCase_ == 1) {
         if (readWriteBuilder_ == null) {
           result.mode_ = mode_;
@@ -4221,38 +4573,39 @@ public com.google.spanner.v1.TransactionOptions buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -4262,21 +4615,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();
@@ -4304,33 +4661,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) {
@@ -4340,12 +4695,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() {
@@ -4355,10 +4710,14 @@ public Builder clearMode() {
       return this;
     }
 
-
     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
@@ -4367,6 +4726,7 @@ public Builder clearMode() {
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; + * * @return Whether the readWrite field is set. */ @java.lang.Override @@ -4374,6 +4734,8 @@ public boolean hasReadWrite() { return modeCase_ == 1; } /** + * + * *
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4382,6 +4744,7 @@ public boolean hasReadWrite() {
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; + * * @return The readWrite. */ @java.lang.Override @@ -4399,6 +4762,8 @@ public com.google.spanner.v1.TransactionOptions.ReadWrite getReadWrite() { } } /** + * + * *
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4422,6 +4787,8 @@ public Builder setReadWrite(com.google.spanner.v1.TransactionOptions.ReadWrite v
       return this;
     }
     /**
+     *
+     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4443,6 +4810,8 @@ public Builder setReadWrite(
       return this;
     }
     /**
+     *
+     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4454,10 +4823,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;
         }
@@ -4473,6 +4845,8 @@ public Builder mergeReadWrite(com.google.spanner.v1.TransactionOptions.ReadWrite
       return this;
     }
     /**
+     *
+     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4499,6 +4873,8 @@ public Builder clearReadWrite() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4512,6 +4888,8 @@ public com.google.spanner.v1.TransactionOptions.ReadWrite.Builder getReadWriteBu
       return getReadWriteFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4533,6 +4911,8 @@ public com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteO
       }
     }
     /**
+     *
+     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4543,27 +4923,38 @@ 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());
         mode_ = null;
       }
       modeCase_ = 1;
-      onChanged();;
+      onChanged();
+      ;
       return readWriteBuilder_;
     }
 
     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
@@ -4572,6 +4963,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 @@ -4579,6 +4971,8 @@ public boolean hasPartitionedDml() { return modeCase_ == 3; } /** + * + * *
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -4587,6 +4981,7 @@ public boolean hasPartitionedDml() {
      * 
* * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3; + * * @return The partitionedDml. */ @java.lang.Override @@ -4604,6 +4999,8 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDml getPartitionedDml } } /** + * + * *
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -4613,7 +5010,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();
@@ -4627,6 +5025,8 @@ public Builder setPartitionedDml(com.google.spanner.v1.TransactionOptions.Partit
       return this;
     }
     /**
+     *
+     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -4648,6 +5048,8 @@ public Builder setPartitionedDml(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -4657,12 +5059,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;
         }
@@ -4678,6 +5085,8 @@ public Builder mergePartitionedDml(com.google.spanner.v1.TransactionOptions.Part
       return this;
     }
     /**
+     *
+     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -4704,6 +5113,8 @@ public Builder clearPartitionedDml() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -4713,10 +5124,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
@@ -4727,7 +5141,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 {
@@ -4738,6 +5153,8 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder getParti
       }
     }
     /**
+     *
+     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -4748,27 +5165,38 @@ 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());
         mode_ = null;
       }
       modeCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return partitionedDmlBuilder_;
     }
 
     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
@@ -4777,6 +5205,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 @@ -4784,6 +5213,8 @@ public boolean hasReadOnly() { return modeCase_ == 2; } /** + * + * *
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -4792,6 +5223,7 @@ public boolean hasReadOnly() {
      * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; + * * @return The readOnly. */ @java.lang.Override @@ -4809,6 +5241,8 @@ public com.google.spanner.v1.TransactionOptions.ReadOnly getReadOnly() { } } /** + * + * *
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -4832,6 +5266,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
@@ -4853,6 +5289,8 @@ public Builder setReadOnly(
       return this;
     }
     /**
+     *
+     *
      * 
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -4864,10 +5302,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;
         }
@@ -4883,6 +5324,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
@@ -4909,6 +5352,8 @@ public Builder clearReadOnly() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -4922,6 +5367,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
@@ -4943,6 +5390,8 @@ public com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrB
       }
     }
     /**
+     *
+     *
      * 
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -4953,26 +5402,32 @@ 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());
         mode_ = null;
       }
       modeCase_ = 2;
-      onChanged();;
+      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);
     }
 
@@ -4982,12 +5437,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();
   }
@@ -4996,27 +5451,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;
@@ -5031,6 +5486,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..4ce4f322c00
--- /dev/null
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionProto.java
@@ -0,0 +1,155 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the 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\"\303\004\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\013\n\tReadWrite\032\020\n\016PartitionedDml\032\250\002\n"
+          + "\010ReadOnly\022\020\n\006strong\030\001 \001(\010H\000\0228\n\022min_read_"
+          + "timestamp\030\002 \001(\0132\032.google.protobuf.Timest"
+          + "ampH\000\0222\n\rmax_staleness\030\003 \001(\0132\031.google.pr"
+          + "otobuf.DurationH\000\0224\n\016read_timestamp\030\004 \001("
+          + "\0132\032.google.protobuf.TimestampH\000\0224\n\017exact"
+          + "_staleness\030\005 \001(\0132\031.google.protobuf.Durat"
+          + "ionH\000\022\035\n\025return_read_timestamp\030\006 \001(\010B\021\n\017"
+          + "timestamp_boundB\006\n\004mode\"M\n\013Transaction\022\n"
+          + "\n\002id\030\001 \001(\014\0222\n\016read_timestamp\030\002 \001(\0132\032.goo"
+          + "gle.protobuf.Timestamp\"\244\001\n\023TransactionSe"
+          + "lector\022;\n\nsingle_use\030\001 \001(\0132%.google.span"
+          + "ner.v1.TransactionOptionsH\000\022\014\n\002id\030\002 \001(\014H"
+          + "\000\0226\n\005begin\030\003 \001(\0132%.google.spanner.v1.Tra"
+          + "nsactionOptionsH\000B\n\n\010selectorB\266\001\n\025com.go"
+          + "ogle.spanner.v1B\020TransactionProtoP\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.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[] {});
+    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 9ece7466236..940b3a1f62f 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
@@ -13,53 +30,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;
     }
@@ -75,26 +96,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
@@ -102,6 +129,7 @@ public int getNumber() {
    * 
* * .google.spanner.v1.TransactionOptions single_use = 1; + * * @return Whether the singleUse field is set. */ @java.lang.Override @@ -109,6 +137,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
@@ -116,16 +146,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
@@ -137,18 +170,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 @@ -156,11 +192,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 @@ -173,6 +212,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
@@ -180,6 +221,7 @@ public com.google.protobuf.ByteString getId() {
    * 
* * .google.spanner.v1.TransactionOptions begin = 3; + * * @return Whether the begin field is set. */ @java.lang.Override @@ -187,6 +229,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
@@ -194,16 +238,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
@@ -215,12 +262,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;
@@ -232,14 +280,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_);
@@ -254,17 +300,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;
@@ -274,26 +322,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:
@@ -330,97 +376,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
@@ -430,33 +483,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();
@@ -472,9 +524,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
@@ -493,7 +545,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);
+      com.google.spanner.v1.TransactionSelector result =
+          new com.google.spanner.v1.TransactionSelector(this);
       if (selectorCase_ == 1) {
         if (singleUseBuilder_ == null) {
           result.selector_ = selector_;
@@ -520,38 +573,39 @@ public com.google.spanner.v1.TransactionSelector buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -561,21 +615,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();
@@ -603,31 +661,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) {
@@ -637,12 +695,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() {
@@ -652,10 +710,14 @@ public Builder clearSelector() {
       return this;
     }
 
-
     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
@@ -663,6 +725,7 @@ public Builder clearSelector() {
      * 
* * .google.spanner.v1.TransactionOptions single_use = 1; + * * @return Whether the singleUse field is set. */ @java.lang.Override @@ -670,6 +733,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
@@ -677,6 +742,7 @@ public boolean hasSingleUse() {
      * 
* * .google.spanner.v1.TransactionOptions single_use = 1; + * * @return The singleUse. */ @java.lang.Override @@ -694,6 +760,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
@@ -716,6 +784,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
@@ -724,8 +794,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();
@@ -736,6 +805,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
@@ -746,10 +817,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;
         }
@@ -765,6 +839,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
@@ -790,6 +866,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
@@ -802,6 +880,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
@@ -822,6 +902,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
@@ -831,41 +913,53 @@ 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());
         selector_ = null;
       }
       selectorCase_ = 1;
-      onChanged();;
+      onChanged();
+      ;
       return singleUseBuilder_;
     }
 
     /**
+     *
+     *
      * 
      * 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() { @@ -875,29 +969,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(); - } - selectorCase_ = 2; + 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() { @@ -910,8 +1010,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
@@ -919,6 +1024,7 @@ public Builder clearId() {
      * 
* * .google.spanner.v1.TransactionOptions begin = 3; + * * @return Whether the begin field is set. */ @java.lang.Override @@ -926,6 +1032,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
@@ -933,6 +1041,7 @@ public boolean hasBegin() {
      * 
* * .google.spanner.v1.TransactionOptions begin = 3; + * * @return The begin. */ @java.lang.Override @@ -950,6 +1059,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
@@ -972,6 +1083,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
@@ -980,8 +1093,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();
@@ -992,6 +1104,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
@@ -1002,10 +1116,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;
         }
@@ -1021,6 +1138,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
@@ -1046,6 +1165,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
@@ -1058,6 +1179,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
@@ -1078,6 +1201,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
@@ -1087,26 +1212,32 @@ 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());
         selector_ = null;
       }
       selectorCase_ = 3;
-      onChanged();;
+      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);
     }
 
@@ -1116,12 +1247,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();
   }
@@ -1130,27 +1261,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;
@@ -1165,6 +1296,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 e93492b2ad9..8e33337d0ce 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
@@ -67,10 +99,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
@@ -78,10 +113,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 76%
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 7d12a7796e6..7657be926d2 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_;
   /**
+   *
+   *
    * 
    * 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() { @SuppressWarnings("deprecation") com.google.spanner.v1.TypeCode result = com.google.spanner.v1.TypeCode.valueOf(code_); return result == null ? com.google.spanner.v1.TypeCode.UNRECOGNIZED : result; @@ -80,12 +104,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 @@ -93,19 +120,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.
@@ -121,12 +155,15 @@ public com.google.spanner.v1.TypeOrBuilder getArrayElementTypeOrBuilder() {
   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 @@ -134,19 +171,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.
@@ -162,6 +206,8 @@ public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
   public static final int TYPE_ANNOTATION_FIELD_NUMBER = 4;
   private int 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
@@ -172,12 +218,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
@@ -188,15 +238,19 @@ 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() { + @java.lang.Override + public com.google.spanner.v1.TypeAnnotationCode getTypeAnnotation() { @SuppressWarnings("deprecation") - com.google.spanner.v1.TypeAnnotationCode result = com.google.spanner.v1.TypeAnnotationCode.valueOf(typeAnnotation_); + com.google.spanner.v1.TypeAnnotationCode result = + com.google.spanner.v1.TypeAnnotationCode.valueOf(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; @@ -208,8 +262,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -219,7 +272,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); @@ -232,20 +286,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; @@ -255,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.Type)) { return super.equals(obj); @@ -265,13 +316,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; @@ -302,97 +351,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.
@@ -400,33 +455,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();
@@ -450,8 +502,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;
     }
 
@@ -492,38 +543,39 @@ public com.google.spanner.v1.Type buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.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;
@@ -570,36 +622,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              code_ = input.readEnum();
+            case 8:
+              {
+                code_ = input.readEnum();
 
-              break;
-            } // case 8
-            case 18: {
-              input.readMessage(
-                  getArrayElementTypeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 8
+            case 18:
+              {
+                input.readMessage(
+                    getArrayElementTypeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getStructTypeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getStructTypeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            case 32: {
-              typeAnnotation_ = input.readEnum();
+                break;
+              } // case 26
+            case 32:
+              {
+                typeAnnotation_ = input.readEnum();
 
-              break;
-            } // case 32
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 32
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -612,37 +666,47 @@ public Builder mergeFrom(
 
     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. */ public Builder setCodeValue(int value) { - + code_ = value; onChanged(); 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 @@ -652,11 +716,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. */ @@ -664,21 +731,24 @@ public Builder setCode(com.google.spanner.v1.TypeCode value) { if (value == null) { throw new NullPointerException(); } - + code_ = value.getNumber(); onChanged(); 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() { - + code_ = 0; onChanged(); return this; @@ -686,36 +756,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 arrayElementTypeBuilder_ != null || 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. */ 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.
@@ -737,6 +820,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.
@@ -744,8 +829,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();
         onChanged();
@@ -756,6 +840,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.
@@ -767,7 +853,9 @@ public Builder mergeArrayElementType(com.google.spanner.v1.Type value) {
       if (arrayElementTypeBuilder_ == null) {
         if (arrayElementType_ != null) {
           arrayElementType_ =
-            com.google.spanner.v1.Type.newBuilder(arrayElementType_).mergeFrom(value).buildPartial();
+              com.google.spanner.v1.Type.newBuilder(arrayElementType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           arrayElementType_ = value;
         }
@@ -779,6 +867,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.
@@ -798,6 +888,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.
@@ -806,11 +898,13 @@ public Builder clearArrayElementType() {
      * .google.spanner.v1.Type array_element_type = 2;
      */
     public com.google.spanner.v1.Type.Builder getArrayElementTypeBuilder() {
-      
+
       onChanged();
       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.
@@ -822,11 +916,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.
@@ -835,14 +932,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_;
@@ -850,36 +950,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 structTypeBuilder_ != null || 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. */ 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.
@@ -901,6 +1014,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.
@@ -908,8 +1023,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();
         onChanged();
@@ -920,6 +1034,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.
@@ -931,7 +1047,9 @@ public Builder mergeStructType(com.google.spanner.v1.StructType value) {
       if (structTypeBuilder_ == null) {
         if (structType_ != null) {
           structType_ =
-            com.google.spanner.v1.StructType.newBuilder(structType_).mergeFrom(value).buildPartial();
+              com.google.spanner.v1.StructType.newBuilder(structType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           structType_ = value;
         }
@@ -943,6 +1061,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.
@@ -962,6 +1082,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.
@@ -970,11 +1092,13 @@ public Builder clearStructType() {
      * .google.spanner.v1.StructType struct_type = 3;
      */
     public com.google.spanner.v1.StructType.Builder getStructTypeBuilder() {
-      
+
       onChanged();
       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.
@@ -986,11 +1110,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.
@@ -999,14 +1126,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_;
@@ -1014,6 +1144,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
@@ -1024,12 +1156,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
@@ -1040,16 +1176,19 @@ 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. */ public Builder setTypeAnnotationValue(int value) { - + typeAnnotation_ = value; onChanged(); 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
@@ -1060,15 +1199,19 @@ 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() { @SuppressWarnings("deprecation") - com.google.spanner.v1.TypeAnnotationCode result = com.google.spanner.v1.TypeAnnotationCode.valueOf(typeAnnotation_); + com.google.spanner.v1.TypeAnnotationCode result = + com.google.spanner.v1.TypeAnnotationCode.valueOf(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
@@ -1079,6 +1222,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. */ @@ -1086,12 +1230,14 @@ public Builder setTypeAnnotation(com.google.spanner.v1.TypeAnnotationCode value) if (value == null) { throw new NullPointerException(); } - + typeAnnotation_ = value.getNumber(); onChanged(); 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
@@ -1102,17 +1248,18 @@ public Builder setTypeAnnotation(com.google.spanner.v1.TypeAnnotationCode value)
      * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; + * * @return This builder for chaining. */ public Builder clearTypeAnnotation() { - + typeAnnotation_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1122,12 +1269,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(); } @@ -1136,27 +1283,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; @@ -1171,6 +1318,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..ebca4e75d38 --- /dev/null +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeProto.java @@ -0,0 +1,113 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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\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) +} 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